Ok, as Google search isn’t helping me in a while (even when using the correct keywords).
I have a class extending from TestCase in which I want to have some auxiliary methods that are not going to be executed as part of the test, they’ll be used to generate some mocked objects, etc, auxiliary things for almost any test.
I know I could use the @skip decorator so unittest doesn’t run a particular test method, but I think that’s an ugly hack to use for my purpose, any tips?
Thanks in advance, community 😀
I believe that you don’t have to do anything. Your helper methods should just not start with
test_.