Which one is better? How should I structure my test suite?
Logging into your app
, navigate to Settings
, proceed to User Management
, create a new user, modify that user, check permissions, and finally delete the user. One massive test case, right?
Now, let’s say you also need test cases for other parts of the Settings
area. Perhaps you need to verify Billing Details
or Account Preferences
. To do this, you’d repeat the Login
step, navigate to Settings
, and then proceed to the new section.
The result? Code duplication everywhere.
This creates several issues:
dependency view
gives you a visual representation of your test suite. Short test cases and their chaining is clearly displayed, making it easy to see which parts of your app are tested or what still needs your attention.Dependency view displaying the dependency tree of chain tests, screenshot 12/2024
Have the AI agent generate more tests, 10/2024