@@ -214,28 +214,32 @@ Before each commit, it will automatically run:
214214 but make sure to make adjustments if it does fail.
215215
216216If you want to run the pre-commit tests without doing a commit, run:
217- ` ` ` bash
218- $ pre-commit run --all-files
219- ` ` `
217+ ` ` ` bash
218+ $ make check
219+ ` ` `
220+ or on a system without make, like Windows:
221+ ` ` ` bash
222+ $ pre-commit run --all-files
223+ ` ` `
220224Make sure to do this at least once before your first commit to check your setup works.
221225
222226Executing a specific unit test can be done by specifying the module, test case, and test.
223227To obtain a hierarchical list of all tests, run
224228
225- ` ` ` bash
226- $ pytest --collect-only
227-
228- < Module ' tests/test_datasets/test_dataset.py' >
229- < UnitTestCase ' OpenMLDatasetTest' >
230- < TestCaseFunction ' test_dataset_format_constructor' >
231- < TestCaseFunction ' test_get_data' >
232- < TestCaseFunction ' test_get_data_rowid_and_ignore_and_target' >
233- < TestCaseFunction ' test_get_data_with_ignore_attributes' >
234- < TestCaseFunction ' test_get_data_with_rowid' >
235- < TestCaseFunction ' test_get_data_with_target' >
236- < UnitTestCase ' OpenMLDatasetTestOnTestServer' >
237- < TestCaseFunction ' test_tagging' >
238- ` ` `
229+ ` ` ` bash
230+ $ pytest --collect-only
231+
232+ < Module ' tests/test_datasets/test_dataset.py' >
233+ < UnitTestCase ' OpenMLDatasetTest' >
234+ < TestCaseFunction ' test_dataset_format_constructor' >
235+ < TestCaseFunction ' test_get_data' >
236+ < TestCaseFunction ' test_get_data_rowid_and_ignore_and_target' >
237+ < TestCaseFunction ' test_get_data_with_ignore_attributes' >
238+ < TestCaseFunction ' test_get_data_with_rowid' >
239+ < TestCaseFunction ' test_get_data_with_target' >
240+ < UnitTestCase ' OpenMLDatasetTestOnTestServer' >
241+ < TestCaseFunction ' test_tagging' >
242+ ` ` `
239243
240244You may then run a specific module, test case, or unit test respectively:
241245` ` ` bash
0 commit comments