Starter project for getting approvaltests up and running
-
Import project
- (Open the Directory that contains the project files)
-
Go File > Settings > Tools > Python Integered Tools > Testing > Default Test Runner > Unittests
- on Mac -- (PyCharm > Preferences > Tools etc.)
-
From the command line run
pip install approvaltests
- brew install python
- requires python3
-
Open test file and click the green arrows by the tests to run
-
-or- Right-click on the 'tests' directory and Run Unittests