populse / capsul

Collaborative Analysis Platform : Simple, Unifying, Lean
Other
7 stars 14 forks source link

Use pytest for v3.0 #264

Closed sapetnioc closed 1 year ago

sapetnioc commented 1 year ago

In v3.0, tests can be launched with pytest command. One can also use python -m capsul.test [--html DIRECTORY]. The --html option launches pytest and coverage at the same time (I noticed 10% test time increase) and creates HTML reports for both.