Skip to content

Commit

Permalink
Discover tests in classes called FooTest as well as TestFoo.
Browse files Browse the repository at this point in the history
We have we have classes called, for example, OutputTest, OutputUnitTest, ArkaneTestThermo,
 CommonTest, InputTest, Psi4LogTest, QChemLogTest, TeraChemLogTest, ArkaneGaussianLogTest,
 MolproLogTest, OrcaTest, ArkaneTest, ArkaneKineticsTest, FluxDiagramTest, SimulateTest,
 DiffModelsTest, GenerateReactionsTest, CanteraTest, RMGToCanteraTest, MergeModelsTest,
 regressionTest, IsotopesTest, ReactionSystemTest, to name just a few...

They were being ignored by pytest. 
Maybe we should rename them, but for now lets reconfigure pytest.
  • Loading branch information
rwest committed Aug 10, 2023
1 parent 32715ad commit 7ebd5cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ addopts =
--cov-report html
testpaths = test
python_files = *Test.py
python_classes = *Test Test*

0 comments on commit 7ebd5cf

Please sign in to comment.