Software Testing and Development Blog Posts
Subscribe to the full blog feed using RSS
Subscribe to the full blog feed using RSS
TL;DR Hack - add as a library in IntelliJ project. Tactic - add as system scope in maven. Tactic/Strategic - install locally to .m2. Strategic - use a repository management tool, publish to maven central

Sometimes you want to work with a jar file that isn’t hosted in maven central.
It might be a 3rd party jar, it might be one that you have written.
Regardless.
You have a lot of options for this. The approaches that I have used:
.jar files as an IntelliJ project dependency.m2 repositoryTL;DR IntelliJ has an inbuilt diff tool which you can use to compare files, classes or code with the clipboard. Just right click and choose Compare.

I was busy refactoring code in RestMud this morning because I want to try and open source the basic game engine, and then later the Web/REST API, but I want to tidy up the code a little first.
I’ve been working through the code:
And the more I tidy it up in general, the easier it is to spot smaller problems of code duplication.
TL;DR Java 1.9 does not like reflection as much as previous versions and access to proprietary packages is not possible out of the box.

Java 1.9 is out, and many companies now will be evaluating Java 1.9 and migrating their code base over to Java 1.9. I am now going through a similar process.
I have some fairly simple code that I was using for HTTP requests. This was originally written in Java 1.8 and to keep my codebase as simple as possible and I wanted to use no external libraries, therefore for HTTP requests I used an HttpURLConnection.
This started to fail on Java 1.9.
When I looked in my code more carefully I realised that it wasn’t HttpURLConnection that was failing in Java 1.9 it was my use of Reflection to bypass some constraints of the HttpUrlConnection that was failing.
TLDR; Historically we modelled testing as something that we wanted to automate, but the tools didn’t help, so we automated entity management and that has led to a mistaken view of “Test Automation” instead of “Automatization as part of a software development and testing process”.
All this and more…
TLDR; Automate tactically and strategically, and use REST APIs to support testing. Materials from my FiSTB 2017 keynote and hands-on tutorial in Helsinki.
TLDR; I presented a workshop at the Sigist on 14th September 2017 on Public Speaking. Unpack what “Imposter Syndrome” means to you, to identify actionable steps to improve your public speaking. You can rewire your brain by revisiting ’normal’ experiences of speaking in public as public speaking.
TLDR; This post is a little negative and long, but it does have some positive techniques that you might be able to use in your testing e.g. Google Image Search. And has hints on how to create your own thumbnail and branding images for free.

TLDR; Testers often find bugs in production systems. But with no incentive to raise them we find workarounds and they go unreported.
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
@BeforeClass or @Before can setup data for use in testsTLDR; 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.
