Software Testing and Development Blog Posts
Subscribe to the full blog feed using RSS
Subscribe to the full blog feed using RSS
How to synchronise on application state? How to Wait with WebDriver? Thread.sleep is not the answer, so what is?
I can see why people find it hard to work with WebDriver, particularly people new to the tool. Over the years I have learned to expect almost constant change from the ecosystem within which I automate with WebDriver (Browsers, Drivers, WebDriver, Java, JUnit). After all, the ongoing betterment of web automating worldwide must continue.
Sometimes we need to find alternative ways to interact with a page becuase buttons might need more than a click.
How can we highlight the elements in use with Selenium WebDriver?
JUnit 4 supports parameterizing a Test class to run the test methods in the class with multiple data values.
In this podcast I discuss How to get a job in testing. But… When we discuss how to get a job in testing. The answer is that we don’t know. No-one actually knows. Because getting a job is completely and utterly dependent on the employer. But there are things we can do to improve our chances….
I’m always looking for simple ways that I can improve my Java programming. And SpotBugs, CheckStyle and PMD can help me do that.
There are many differences between JUnit 4 and 5, in terms of JUnit 5 having more capabilities and different ways of doing stuff.
But there are some very obvious differences between 4 and 5 in terms of: ignoring tests, running methods before and after methods and test classes, and exception asserting.
To generate JUnit HTML reports from maven builds we need to add the surefire plugin to generate the xml files and then the site and reporting plugins to create the html report.
I prefer to use either JUnit 4 or JUnit 5, but there may be moments when we want to use both. We can do that with JUnit 5 dependencies.