TesterHQ - The Evil Tester Blog Aggregator

Apr 13, 2017 - 1 minute read - JSoup Java For Testers

JSoup Tip How to get raw element text with newlines in Java - Parsing HTML and XML with JSoup

TL;DR with JSoup either switch off document pretty printing or use textNodes to pull the raw text from an element. A quick tip for JSoup. I wanted to pull out the raw text from an HTML element and retain the \n newline characters. But HTML doesn’t care about those so JSOUP normally parses them away. I found two ways to access them. switching off pretty printing using the textNodes Switching off Pretty Printing When you parse a document in JSoup you can switch off the prettyPrint

Mar 30, 2017 - 3 minute read - Books Evil Tester

How do you interview testers?

TLDR; I received an email asking if I have any good interview questions and the short answer is “No…. slightly longer is “I don’t know, I do not know the person you are interviewing, or why you are interviewing.” and since that could come across as arrogant and unhelpful, I thought I’d explain in a blog post that I audition, rather than interview based on a set of questions.

Mar 17, 2017 - 2 minute read - Books Evil Tester

Top Ten Books For Testers for Huib Schoots

Huib Schoots recently asked for a top 10 books list for testers. I had to think hard when I wrote my list. Bulleted below you can read the list I created. I added amazon links to the book so you can find them easily. Provocative Therapy - Frank Farrelly [uk][com] The Art of War - Sun Tzu [uk][com] The book of Five Rings -Miyamoto Musashi [uk][com] Diagnosing the System - Stafford Beer [uk][com] seems to list for outrageous prices, look for 2nd hand copies The Structure of Magic (vols 1 & 2) - Richard Bandler and John Grinder [uk][com] Quantum Psychology - Robert Anton Wilson [uk][com] Organizations - James March and Herbert Simon [uk][com] Influence - Robert Cialdini [uk][com] Software Testing Techniques - Boris Beizer [uk][com] Domain Driven Design - Eric Evans [uk][com] Only one of my titles had other people listing it as a shared title - Boris Beizer’s book.

Mar 17, 2017 - 8 minute read - Getting Started Java For Testers

Mistakes using Java main and examples of coding without main

TL;DR A potentially contentious post where I describe how I’ve survived without writing a lot of Java main methods, and how learning from code that is often driven by a main method has not helped some people. I do not argue for not learning how to write main methods. I do not argue against main methods. I argue for learning them later, after you know how to code Java. I argue for learning how to use test runners and built in features of maven or other build tools to execute your @Test code.

Mar 16, 2017 - 2 minute read - Selenium Simplified Blog WebDriver

Changes in Selenium WebDriver 3.1.0, 3.2.0, 3.3.0 and 3.3.1 for Java

I have updated my startUsingSeleniumWebDriver project to handle changes in WebDriver 3.1.0, 3.2.0, 3.3.0 and 3.3.1. MarionetteDriver removed in version 3.1.0 and above In version 3.0.1 of Selenium WebDriver I noticed that the MarionetteDriver was marked as deprecated. The WebDriver team don’t mess about, and in the next version (3.1.0), the MarionetteDriverwas removed. FirefoxDriver defaults to Marionette/GeckoDriver mode, so if you have been using MarionetteDriver you should change the code to use FirefoxDriver instead.

Mar 12, 2017 - 3 minute read - Evil Tester Testing

Representation and Meaning: relating Programming, Testing, Coding and Checking

TLDR; older computing books and papers have a lot of really useful information - read them. Programming has an ‘easy to automate’ level called ‘coding’, with a similar relationship to ‘testing’ that ‘checking’ has. Assert as well as Check. Developing includes Testing and Programing and other stuff. Some quick notes from a reading of the book “Representation and Meaning”, published in 1972, compiles various academic papers from 1960 - 1965.

Mar 8, 2017 - 3 minute read - Evil Tester Techniques

Ambiguity Detection and Weaponisation for Software Testers

TLDR; You can learn to detect ambiguity and then weaponize it for your testing. Do you think I meant that? What else could I mean? Detection Can you identify ambiguity in written, verbal and visual communication? If so then you can apply that skill during your testing to give you ideas of where in an application to test. In the places that you perceive ambiguity, when you test there, you might find an easy win due to different expectations between project staff e.

Feb 17, 2017 - 6 minute read - Evil Tester Productivity

Harness Your Ruthless Efficiency as MVP in testing and development

TLDR; Ruthlessly look at your process and incrementally improve your efficiency. Take the same attitude when testing and developing and harness MVP as often as you can. In this post I’m going to describe focus and how you can apply that in your work, not just for testing but for software development in general with examples. On the morning of 17th Feb 2017, I created an Instagram video on ‘focus’ and it was about… how ruthlessly efficient we can be if we focus.

Feb 15, 2017 - 4 minute read - Automating Evil Tester

Should I test at the GUI Level or the API Level?

TLDR; Where to test? Can you isolate the functionality? If so, test the isolation most heavily. Then look to see what integrates, and how it integrates. Then test the integration as heavily as the ‘how’ requires. Question: Is there a rule of thumb when deciding to test at the GUI level or API level? Are any rules to help decide when to test at one level over the other?

Jan 31, 2017 - 9 minute read - Evil Tester Technical Testing

How to test a text adventure game - some notes on Testing RestMud

TLDR; RestMud has JUnit Unit @Test coverage, functional integration testing, REST API testing with Jsoup and Gson, Bots for multi-user and model based testing, Postman and GUI based exploratory testing. I’m getting RestMud ready for some workshops later in the year and this means: making sure a player can complete the maps I have created I’m OK with some bugs (because they are for testers), but I need them to complete because they are games making sure they can handle enough players I imagine that we will have a max of 20 or so people playing at a time making sure I don’t break existing games with last minute engine changes with new game maps with new game commands and script commands As most of you reading this will realise - that means as well as developing it, I need to test it.