Browsed by
Month: January 2018

Enter the Matrix: Selenium grid made simple

Enter the Matrix: Selenium grid made simple

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

As I discussed in ‘Driver factory part 3 – Remotewebdrivers and my very own grid’ I found that it was pretty painless to set up a grid hub and node on a single Windows machine. Whilst the grid was itself perfectly stable, it is a bit of a pain to start up multiple command prompts and run individual nodes etc. There were two obvious improvements to this that I could try: Work out how to configure multiple browsers on a…

Read More Read More

All is not as it seems: Checking the right browser launched

All is not as it seems: Checking the right browser launched

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

When tests don’t work…. One of those issues that I could very easily have missed. Over Christmas, in between working through CheckStyle hell I had a play around with adding Opera to the list of browsers available on my grid. I know its kind of pointless as being based on the same engine as Chrome, but it is one of my favourite browsers so I thought I’d give it a go. I’ve made a few incremental changes to my grid…

Read More Read More

CheckStyle – Enforcing a coding style: part 4

CheckStyle – Enforcing a coding style: part 4

This entry is part 4 of 4 in the series Implementing a Java code style with CheckStyle

Final Thoughts After struggling to get the last few posts out I have adopted a more agile approach to my blog. Now, whatever state the post is in it, will be published on Monday evening. I didn’t quite get everything finished off last week so here goes with my final thoughts about implementing CheckStyle into a new project. The last changes in my CheckStyle implementation Having set the Javadoc rules to ignore in my ruleset, I of course remembered that…

Read More Read More

CheckStyle – Enforcing a coding style: part 3

CheckStyle – Enforcing a coding style: part 3

This entry is part 3 of 4 in the series Implementing a Java code style with CheckStyle

The sensible way to make your own ruleset. As I mentioned in CheckStyle – Enforcing a coding style: part 2, there is a far simpler way to choose your own rules than by manually editing an xml file. I use the Community edition of Intellij IDEA. Going back a few years however I learnt my first Java code at ITU using Eclipse. To be fair I did try it out when I started programming professionally, but I never really was happy…

Read More Read More

Displaying XML in WordPress

Displaying XML in WordPress

a.k.a. the making of ‘CheckStyle – Enforcing a coding style: part 2’ Happy New Year and welcome to 2018! For my last post I wanted to write a commentary on the sections of CheckStyle’s own comprehensive and annotated rule configuration. It quickly became clear however that at over 580 lines of xml this was going to be something of a challenge to make it easily consumable. I had hoped that this would be a quick post to explain how I…

Read More Read More