Write, Organize and run your initial test suite.
When building out your smoke tests, focus on developing test cases that are repeatable and easy to interpret, so you can ensure your tests consistently return valuable feedback.
Consider any instructions you might need to repeat across different tests—these may be complete processes, like a login to access your app, or a repeating portion of a process, like the steps for filling out a form.
A checklist of 50 common test cases all organizations should consider running in Rainforest can be found here.
- Write your Smoke Tests
Foundational tests like smoke tests are crucial in testing that the basic functions of your site work. When instructing testers to perform a series of test cases, follow the Rainforest Action / Question format in each step.
Steps are the primary means of instruction to your testers, so it's important to write steps as clearly and as effectively as you can. Each step is comprised of an action and a question to guide testers through what they should do:
- Action - What should the tester do?
- Question - In the form of a Yes or No question.
This simple format allows you to validate each essential action in a flow, tracking success or failure each step of the way.
Useful functions you can perform on a step:
- Copy steps into another test
- Extract steps as an embedded test into a new test
- Move the order of the step within a test
Select multiple / all tests to see additional options to duplicate, change browsers, tag tests, and delete.
2. Organize your tests
Apply tags to organize and categorize your tests as you're writing out your tests. You can later run tests by tag or filter them by tag from your Rainforest Dashboard. For example, you could include a "critical" tag for tests that need to be run every time you deploy or a "photos" tag for your tests related to the photos functionality in your app. To tag a test, start typing in the TAGs box and hit Enter to save the tag. You can also apply tags to multiple tests from the Tests page after selecting the appropriate tests.
Rainforest Features lets you organize and view coverage progress by feature. Simply create a feature and start adding tests.
By Saved Filters
Rainforest Saved Filters provide a more granular way to organize your tests. You can define what tests should be included in a Saved Filter by adding a 'Tag condition'. A tag condition could be as simple as: “Include all tests with tag ‘green’”, or “Exclude all tests with tag ‘red’”.
3. Run your tests
There are several ways to run your Rainforest tests:
Working with our API? You can do all of the above programmatically!