Testing¶
This package uses the pytest module to conduct unit tests. Tests are located in the tests/ folder.
In order to run all tests, for example:
To run tests from one file:
To run one test within a file:
Running the end to end test¶
To run the full suite of end to end tests, you will need to export an environment variable with the AIS API KEY. Otherwise, some tests will be skipped.
In mac/linux:
To do this permanently, you'll need to edit the shell configuration file.
In powershell:
To do so permanently in powershell: