TesterHQ - The Evil Tester Blog Aggregator

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.

Aug 25, 2017 - 2 minute read - Instagram

Instagram Post - How to prepare presentations faster (Bonus Video)

In this video I explain the strategy and tactics I use to create presentations, workshops, documents, test strategies and test plans. With no reliance on templates I have to think through my strategy or plan as a process and work out what would I need, or have to do if I started tomorrow. This sense of urgency helps me focus on the essence of what I need to know and communicate to other people.

Aug 18, 2017 - 3 minute read - Evil Tester Technical Testing REST API Testing

3 Reasons to use Insomnia REST Client in your Exploratory API Testing

TLDR; Use a combination of tools to offset other tools weaknesses. Insomnia makes switching HTTP proxies easier than Postman when performing exploratory testing

In my recent HTTP REST API application testing I have been using a combination of tools:

  • Postman for interactive requirement and documentation based testing
  • Java and REST Assured for automating the API
  • Insomnia REST for more exploratory API testing

In this post I’ll describe, and show, how I do that.