Closed Jordan-Dennis closed 1 year ago
This looks like it would be better in the long run. I would probably leave this for now and we can dev it on a separate branch after the Apertures merge, unless you're already using it on that branch in which case we should do the whole thing on there - Thoughts?
I think this will be quick. The syntax is nearly the same, so I might make it part of the apertures
pull request.
Yep cool, am on board with this
Agreed with changing now for apertures tests too
This is more involved than I thought. @ataras2 have you got parameters passing into fixtures yet?
pytest
has some pretty lit features actually. For example, you can run tests using -k
to search for keywords.
pytest -k "CartesianWavefront" tests/test_wavefronts.py
Source: pytest
The pytest fixture allows one to define utilities without the baggage that I created. The basic syntax for use is: