Tests with shared (lengthy) setup

2 days ago 2
ARTICLE AD BOX

Suppose I have a test suit with a lengthy setup (perhaps, it's a GUI test).

I don't want to execute the setup for each test method since I want the test suit to finish sooner.

I also don't want to shove every possible assertion into one test method.

Basically, I seem to want multiple "independent" test methods that share common setup (hence the quotes).

What are my options? And do you believe my goal is wrong to begin with (or at least my method)?

Read Entire Article