TesterHQ - The Evil Tester Blog Aggregator

Jun 10, 2013 - 1 minute read - Java For Testers JUnit

JUnit ExpectedException Rule

JUnit has a new way of testing for Exceptions. Back in the day, we used to add the expected parameter to the @Test annotation. @Test(expected = InvalidPassword.class) But now, JUnit has a new @Rule @Rule public ExpectedException expected = ExpectedException.none(); And you configure the ExpectedException in the @Test method: expected.expect(InvalidPassword.class); expected.expectMessage("> 6 chars"); Very useful if you want finer grained control over your Exception testing. You can find out more on the JUnit github.

Jun 7, 2013 - 2 minute read - IDE Java For Testers

Which IDE should you use for Java?

There are a whole bunch of free IDEs out there that you could use with Java: IntelliJ Eclipse Netbeans And there are more, I just listed those that I have tried. You can also use Text Editors as an IDE, some of those even have code completion now. So which Java IDE should you use? Well, I use IntelliJ. I even paid for it, which is something that I never thought I’d do for a Java IDE - I do use it for pretty much all my development work: JavaScript, HTML, XML etc.

May 31, 2013 - 1 minute read - Evil Tester Exploratory Testing Technical Testing

A Bugzilla exploratory testing session from the vaults

Back in 2011, I decided to try recording an exploratory testing session. I uploaded the results privately to Youtube and essentially forgot about it. It was the first time I tried to think out loud, and record, and conduct exploratory testing, and make notes, all at the same time. Despite its rough edges, and horrible editing, I’m going to make it available. I have long lost the original recording so I can’t recreate a full unedited version, and I can’t really adjust this video too much, so I’ll let it stand as a time bound representation of where I was with the multi tasking approach to exploratory testing back in 2011.

May 16, 2013 - 1 minute read - CompendiumDev Conferences

TestNet May 2013: KeyNote and Tutorial

May 2013 I was allowed to present both a Keynote and a Tutorial at TestNet. Tutorial: The Evil Tester’s Guide to HTTP proxies Tutorial KeyNote: http://www.slideshare.net/eviltester/keynote-my-quest-for-silver-bullets I also contributed an article to the news letter, which starts on page 4. (Also listed below)

Apr 18, 2013 - 1 minute read - Conferences Selenium Simplified Blog Training Courses WebDriver

Selenium Clinic Eurostar 2012 Slides

For some reason I didn’t blog about releasing the slides from the “Selenium Clinic” a tutorial session that Simon Stewart and I presented at Eurostar 2012. I released the slides which were given to the tutorial attendees up on slideshare. Selenium Clinic Eurostar 2012 WebDriver Tutorial from eviltester I was a little nervous about this because of those 72 slides, 50 of them form part of my Online course and I put a lot of material, detail, time and energy into them.

Apr 17, 2013 - 1 minute read - Selenium Simplified Blog Training Courses WebDriver

Selenium 2 WebDriver Java API Cheat Sheets

I have released the cheat sheets that I provide during WebDriver training courses. These act as reminders of the WebDriver API, basic synchronisation, Hamcrest, JUnit, some tips for IntelliJ and CSS and XPath Selectors. Slides slides shared on google docs slideshare.net/eviltester/webdriver-cheatsheets-summary-slides Handouts handouts shared on google docs slideshare.net/eviltester/webdriver-cheatsheets-summary Feel free to print them out and keep them beside you when you work with Selenium 2 WebDriver to help you increase your familiarity with the WebDriver API.

Apr 17, 2013 - 2 minute read - Selenium Simplified Blog WebDriver

OperaDriver 1.2 With Selenium 2.32.0 on Windows 8

“Hmm, why aren’t my tests on Opera working any more?” For those of you that want to skip to the chase and see my hack then I did this, just before I created a new OperaDriver(); System.setProperty("os.name","windows"); driver = new OperaDriver(); And thanks to you for sticking around to see the investigation process… Caused by: org.openqa.selenium.WebDriverException: Could not find a platform that supports bundled launchers, please set it manually Build info: version: '2.

Apr 14, 2013 - 3 minute read - Selenium Simplified Blog Training Courses

Selenium 2 WebDriver Online Course Reviews

First, a big thank you to everyone who takes the time to post reviews on my online courses. Particularly when they also take the time to leave a comment. As it really helps explain to other people why they enjoy the course. I also appreciate all the feedback that I receive on the course, even when it doesn’t make its way into a review. The course changes based on the suggestions I received.

Apr 12, 2013 - 6 minute read - Entertainment Evil Tester

"I was a zombie tester" a true story

I was a testing zombie. And I confirm that the details herein conform to the truth as I recall it. Well a revenant actually This is a still from the 2002 film “Mad Dogs”, specifically 1 hour, 23 minutes and 44 seconds into the film. And that’s me on the left. In full zombie mode. And you can’t tell from the film still, but all of us in this picture are actually covered in fake blood and dirt.