This question is related to Testing Library for React and
unittest for Python.
I'd like like to have a single file that contains unit tests and integration tests for a component, and be able to target each kind of test individually. It sounds like
pytest has this functionality where you can specify with an
@ (or maybe it was
) before the test class that it is a "unit-test" or "integration-test".
Is something similar possible with
unittest and Testing Library, or is the only option in the file naming convention: