File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,23 @@ We support three main approaches for test input generation:
107107 - Make tests reproducible
108108 - Document test assumptions and requirements
109109
110+ ### Running Tests
111+ Tests must be run from the ` python/cuml/ ` directory or one of its subdirectories. First build the package, then execute tests.
112+
113+ ``` bash
114+ ./build.sh
115+ cd python/cuml/
116+ pytest # Run all tests
117+ ```
118+
119+ Common options:
120+ - ` pytest cuml/tests/test_kmeans.py ` - Run specific file
121+ - ` pytest -k "test_kmeans" ` - Run tests matching pattern
122+ - ` pytest --run_unit ` - Run only unit tests
123+ - ` pytest -v ` - Verbose output
124+
125+ Running pytest from outside the ` python/cuml/ ` directory will result in import errors.
126+
110127## Device and Host memory allocations
111128TODO: talk about enabling RMM here when it is ready
112129
You can’t perform that action at this time.
0 commit comments