Browsed by
Tag: Selenium

Parameterisation with JUnit5

Parameterisation with JUnit5

The background This was never intended to be an article in itself, but one of the problems with working on this late at night, is that sometimes I have to finish up, even though I know that there is another simple change I would like to make. In this case, my DriverFactoryTests were just screaming out for parameterisation. I know I had added some Windows 10 checks in there, but as I was of course running the tests over a…

Read More Read More

Driver Factory Part 3 – RemoteWebDrivers and my very own grid

Driver Factory Part 3 – RemoteWebDrivers and my very own grid

This entry is part 1 of 5 in the series Building a WebDriver Grid

So last week I got my code running on a home grid, but did not have time to explain what I did, so here goes… What is a grid and why would you use it? If you have pulled and run any of my tests, or tried building up something yourself, after the initial wow factor of watching a browser fire up and start doing things all by itself, you probably quite quickly got bored of having to stop pretty…

Read More Read More

Bye bye JUnit 4, hello WebDriver 3.6.0 and some firsts.

Bye bye JUnit 4, hello WebDriver 3.6.0 and some firsts.

A lot has happened this week! So although I have completed the code changes and committed already. I don’t think I will get it all explained in this post. Probably a multi part post for you this week. So I was wrong! JUnit 5 can be used to do everything I want as of now so it is finally time to get rid of my JUnit4 compatibility. If you recall I was hanging on to it as I could not…

Read More Read More

Sorry, Scrum, a malfunctioning factory and the ‘Definition of Done’

Sorry, Scrum, a malfunctioning factory and the ‘Definition of Done’

Sorry! Many apologies for the delay in this post, but sometimes life just gets in the way. Last week’s post was always going to be a challenging one. With 2 Birthdays, my wife returning to work from maternity leave and my 3 year old son starting at nursery it was set up to be a busy week. Then on Monday afternoon I was offered the chance to spend the next 2 days on Geoff Watts’ Certified ScrumMaster Course in London….

Read More Read More

Creating AbstractTest classes to reuse our startup code

Creating AbstractTest classes to reuse our startup code

So where were we? Oh yes, last week I was investigating JUnit 5 asserts and deciding that generally I don’t like them. It is safe to assume then that I will mainly be using Assertj for my assertions. We also got our first test passing in a way that won’t fail if I decide to change my WordPress theme again. One test is all very well, but what if I want to write many tests. As I demonstrated last week…

Read More Read More