This is something I wanted but didn't get done before. I think everyone's happiest when you don't have to run three or more services (Virtuoso, Redis, etc) just to run pytest after a fresh checkout. Turns out pytest can take command line options so we can have pytest run just unit tests by default and add a --integration option that runs tests marked as integration tests.
Add this to conftest and update the README.
After this change, any new unit tests can just be done as usual and integration tests will need to be decorated with @pytest.mark.integration.
This is something I wanted but didn't get done before. I think everyone's happiest when you don't have to run three or more services (Virtuoso, Redis, etc) just to run pytest after a fresh checkout. Turns out pytest can take command line options so we can have pytest run just unit tests by default and add a
--integration
option that runs tests marked as integration tests.Add this to conftest and update the README.
After this change, any new unit tests can just be done as usual and integration tests will need to be decorated with
@pytest.mark.integration
.