I think so, but it should be easy to see if it doesn’t.
2 more things that are still lacking (and perhaps are on your TODO, but they are in the spec):
-
test_this() should be able to receive multiple entries in one call, so it should be *args
-
a bigger puzzle to figure out is that the only time the json file is written is when ‘pytest’ completes with 100% success. You already have the check to run it only for non-specific tests, this is the 2nd half of the setup.
currently, if I run ‘make test’ and abort it we get
{}
in the json file - not what we want obviously as we have just lost all the data.