cachai.get_available_tests
- cachai.get_available_tests()[source]
Retrieve the list of available test modules.
- Returns
listofstrNames of the available tests (retrieved from the test files without the
test_prefix).
Examples
If you are running tests in the terminal, you can run
cachai-testusing the-lor--listoption:$ cachai-test -l
Available tests: utilities data dependencies gadgets charts
If you are working in a Python/Jupyter file:
import cachai as ch tests = ch.get_available_tests() print("Available tests:", tests)
Available tests: ['utilities', 'data', 'dependencies', 'gadgets', 'charts']