TesterHQ - The Evil Tester Blog Aggregator

Sep 13, 2017 - 3 minute read - Instagram

Presentation Practice Steps - Instagram Post

For a Keynote practice, I load the slides up on the machine I’m going to use. Make sure my clicker works, and that the slides are up to date. Then talk through the presentation as though I were presenting it to check for style, flow and timing.

Sep 1, 2017 - 4 minute read - REST API Testing Evil Tester Testing Technical Testing

Automating and Testing a REST API Paperback Edition

TLDR; My new book Automating and Testing a REST API is out in paperback on Amazon.

My Case Study book “Automating and Testing a REST API” is now available as a paperback on Amazon.

It has been out as an ebook since January but I wanted it to:

  • Settle down
  • Receive some comments
  • Proof read it gradually over time

And I’m glad I did.

Based on comments I added three or four new chapters to go beyond the set of topics that a Case Study could provide and the book now has generic information on:

  • Serialising and Deserialising to/from JSON and XML with REST Assured
  • Overview of HTTP and REST Technology

This makes it more suitable for beginners and has more information to allow you to apply the lessons learned in your own projects.

Sep 1, 2017 - 3 minute read - Instagram

Why Java Null Pointer Promo - Instagram Post

I’ve released a longer version of this video on Youtube, so if you need more details you can head off there via the link to the blog post at the end of this post (YouTube video is added at the bottom of that post). A common reason for Null Pointer Exceptions in Java is a variable redeclaration instead of instantiation. Learn what that means, how to avoid it, and how to spot it, in this presentation.

Aug 30, 2017 - 5 minute read - Evil Tester Testing

I wish companies offered functional bug bounties - not just security bug bounties

TLDR; Testers often find bugs in production systems. But with no incentive to raise them we find workarounds and they go unreported.

I wish there were bug bounties for functional defects

This week I found a bug in SlideShare. I say “found” when what I mean is - “for the 3rd or 4th time I’ve had issues uploading slide decks and I finally identified the cause”.

And… SlideShare will (probably) never have the defect formally reported to them by me.

Aug 29, 2017 - 3 minute read - FAQ Java For Testers

Why does my code throw a null pointer exception? - common reason

TLDR; check that you haven’t redeclared a field as a variable in a setup method

FAQ - why does my code throw a null pointer exception - common reason #1 Redeclaration

  • Using @BeforeClass or @Before can setup data for use in tests
  • Any ‘variables’ we instantiate need to be ‘fields’ rather than variables
  • We want to instantiate them in the setup method rather than redeclare them

Aug 26, 2017 - 3 minute read - Evil Tester Automation

A Diagram for a Logical Model of Automating With Abstraction Layers

TLDR; Mix and match different abstraction layers and Objects to create the architecture you need to support your automated execution activities to support clarity and ease of development.

I found a postit note on my desk. I can’t remember when I drew it but it seems to have been an attempt to group different levels of abstractions used when automating, in this case automating a Web GUI.