testify
testify copied to clipboard
Is it possible to run specific test in TestSuite few times?
Hello, dear developers. I hope you are well-doing. I'm using Testify in my project with SetupSuite() and TeardownSuite() functions and it works well. I'm really enjoy your product.
Could you help with one issue? I want to run one test in my project multiple times. I'm using the -test.count=100 flag for go test for this purpose. But it looks like that SetupSuite() runs before every test and TeardownDuit() runs after every test which takes too much time. Is there a way to run the test multiple times without calling SetupSuite() and TeardownSuite() every run?
Thank you in advance for the help!
Kind Regards, Eldar