theochem / fanpy

Projectively-optimized geminal and "fancyCI" wavefunctions
Other
17 stars 2 forks source link

Port over testing suite from `nosetest` to `pytest` #93

Closed kimt33 closed 5 years ago

kimt33 commented 5 years ago
  1. Testing suite is changed to pytest from nosetest because nosetest is unmaintained.
  2. All of the tests are moved to the tests directory in the project root. Gathering the tests into a single directory makes it easier to utilize the same set of testing tools. Separating out the tests from the code decreases dependencies for both the code and the tests, and it plays nicer with pytest
  3. Only use pytest for testing.
  4. Move data files to the test directory. Since data files were only used for testing purposes, placing the tests with the data files in the same directories makes it a bit easier to manage the directories.