|image credit: www.macforensicslab.com|
There is important misunderstanding that Context driven school of testing is against test automation and programming in general. In following example I will give an example that will help to refute such opinion.
Here is one context driven principle in action:
"Automated testing is not automatic manual testing: it’s nonsensical to talk about automated tests as if they were automated human testing."
Given that I sign in
When I open xy application tab
Then there is xy amount shown
And I log out.
I tried to reproduce the issue without the script, but without success. Difference between human actions and script actions were in timings. Log out step was done in script much faster. And that was cause of issue.
This example supports context driven principle, that automated testing extends human testing, it does not replace it.
Labels: learn testing, ruby