Reuse/re-purpose existing steps in your code by using the pipe delimiter.
@Then(“^(I search for and select an existing user|I validate a user has been created)$”)
– Use this sparingly and make your BDD’s more readable.
Reuse/re-purpose existing steps in your code by using the pipe delimiter.
@Then(“^(I search for and select an existing user|I validate a user has been created)$”)
– Use this sparingly and make your BDD’s more readable.
Functional test automation. It’s not entirely about the numbers, but rather the value and coverage of the test you create.
Push left. Cover more in unit/integration tests and less on the UI. Try not to look at this as it takes away from you as a tester’ but rather enhances your ability, exposure and experience.
Its difficult to decide which tests to push left you say?
Yes, I can definitely agree with that. I was hard for me too.
I’ve learnt that this difficulty comes strong at first but when this is a practice we bake into our planning sessions, this becomes easier with time. Communication is the most important influence here. The results of which will lend to a “Team Test Approach” or “Quality mindful team”.
There are many ways in which we can scribe out a feature file. In my experience with teams of various experience, businesses of different maturity and a variety of complexity of applications I have learned there is no 1 way to get this right.
Here are 7 things to remember:
To spin up a WebDriver is pretty easy. We really only need 4 lines of code:
System.setProperty(“webdriver.chrome.driver”,”…”);
WebDriver driver = new ChromeDriver();
driver.manage().window().maximize();
driver.get(“http://…”);
For manual testing, Postman is a great resource for API testing. Validate your results post call using their inbuilt test functionality.Here is a link to some test examples.
Getting to grips with front-end automation?
Here’s an awesome little jQuery cheat-sheet for ya: https://oscarotero.com/jquery/
Spent a wet weekend indoors and decided to spin up a testing framework. Here is my top 11.
What’s in it?
Java 8 Maven Spring Application. + Cucumber + Selenium + Restful API Test Automation Framework + Postgres + Spring JPA. This setup included :
What else should I add in here?
The Struggle is real!
Ok, its not actually a word but an acronym.
In “The Dependency Inversion Principle” (or DIP), the author states the three defining factors of “bad code”: