Test Suite
A test suite is the fundamental unit of testing in Spur, representing a collection of related tests that work together to validate specific functionality. This page will guide you through managing and running your test suites.
Test Suite Page: listing all the test suites in your application.
Test Suite Flow View
Flow View: Visual representation of test dependencies.
Running Test Suites
When you run a test suite, Spur executes all tests within the suite in their specified order, respecting dependencies and ensuring proper flow. The execution view provides real-time feedback on:
-
Current test status
-
Progress through the suite
-
Any errors or issues encountered
-
Test execution time
Test suites maintain the integrity of your testing workflow by executing tests in the correct sequence, ensuring each step builds upon the previous ones.
Keep your test suites focused and organized around specific features or user journeys for better maintainability and clearer results.
Duplicating Test Suites
Easily duplicate test suites and change URLs across different environments.
test duplication demo
Open the action menu of the test suite
Click on duplicate.
Specify duplication instructions
When duplicating the test, you’re able to rename it and remap the urls to different addresses. If you want to keep the urls the same, just leave the form entry blank.
Best Practices
-
Logical Grouping: Group related tests together in a suite
-
Clear Dependencies: Establish clear relationships between tests
-
Maintainable Size: Keep suites focused and manageable
-
Regular Execution: Run suites frequently to catch issues early
-
Clear Naming: Use descriptive names for easy identification
While test suites can contain many tests, it’s recommended to keep them focused on specific features or workflows to maintain clarity and ease of maintenance.