New to testing?
In your first year as a software testing?
Here are 4 useful testing tips for beginners.
1. Explicitly State your Assumptions
Before I start testing (and ideally before the developers start coding), I like to go through the requirements/acceptance criteria/user stories, then write testing notes on my assumptions. That is, based on what I have read, what am I assuming?
Not all of the expected behaviour of the application/feature will ever be explicitly stated, a lot of expected behaviour is implied – therefore it\’s useful to state your assumptions and then either tag the developers/ business analyst in your comments or share your thoughts with them face to face.
While doing this, I also like to state how I would test the application/feature, based off my assumptions – this doesn’t have to be written test cases, but more like test ideas; this is followed by the sort of behaviour I would expect for each test idea. (This isn’t a promise to the developers that this is exactly what I would test, but more like an indication of what I plan to cover, at this point in time.)
If stating my assumptions is not enough to clearly communicate how I plan to approach testing an application/feature, then stating how I would test the application/feature tends to do the trick.
Here’s an example:
Let’s say you’re building a bed eCommerce site and you want to add functionality so that on the Search Results page, the user can now filter based off the width of the bed. (For this case, let’s assume we don’t have any designs either for this feature, because the designers are busy)
The acceptance criteria would say:
- As a user, I can search for beds and filter by width.
- As a website owner, I can add the width as a searchable characteristic of each bed.
This is pretty open right?
Now my testing notes may look something like this:
- I assume that the searchable widths are 90cm, 120cm, 140cm, 160cm and 180cm.
- If my assumption is correct, do we have any beds that do not fall into one of the above categories, if so, what would happen to them?
- I assume this is a checkbox filter (that is, users can apply multiple widths to the search).
- I assume it’s possible to clear the filter
- I assume the width of a bed MUST be added for a bed to be added to this website.
2. Test in the gaps
- What scenarios are not covered?
- What could a user do that is not explicitly stated?
- What if X? What if Y?
3. Instead of “How can I prove it works?” ask yourself: “How can I prove it doesn’t work?”
4. Learn how to write a clear, actionable bug report.
- Actual behaviour
- Expected behaviour
- Steps to replicate
- Screenshots/screen recording
- If it can\’t be replicated or difficult to replicate consistently, state this.
- Build version
This post is also shared on the House of Test blog: https://www.houseoftest.net/en/2019/10/4-testing-tips-for-beginners/