Blog Posts

Subscribe to the full blog feed using RSS

All Posts | Categories | Archive

Migrating from JAXB XML processing to XStream

6 minute read - REST API Java For Testers

TLDR: refactored to isolate XML processing, configured XStream in code, removed all annotations, added XML header, wrote less code

I have a small REST API application which uses Spark and GSON and JAXB. I haven’t released this to Github yet but I did release some of the example externally executed []integration verification code](https://github.com/eviltester/automating-rest-api) for it.

When trying to package this for Java 1.9 I encountered the, now standard, missing JAXB, libraries. So I thought I’d investigate another XML library.


How to install cURL on Windows

2 minute read - Tips

TLDR; cURL requires an install on Windows, but it isn’t always easy unless you use a one-click installer or Chocolatey.

I remember cURL being easier to install than it currently seems to be. I’ve had a few questions from people working through my book “Automating and Testing a REST API” on who were experiencing difficulties installing cURL on Windows. I documented a few different approaches.


UKStar 2018 - Workshop March with Gustav Kuhn on Magic, Cognition and Testing

2 minute read - Conference

Title: Mapping Cognition to Software Modelling & Testing

UKStar is in march I helped organise it as part of the programme committee But I’m also doing a workshop with Gustav Khun which we have been planning.

I’m not sure I’ve looked forward to a workshop quite as much as this one.

Gustav is a Cognitive Psychologist and practicing Magician (he’s been on TV!) and we are going to explain some of the psychological principles of magic and I’ll map them on to Software Testing. Why? Because my MORIM model was built during the time that I talked my way into the Magic Circle in London for a year and I learned to study Magic and apply what I learned directly to testing. This is something I’ve wanted to cover for years but felt I lacked the credibility for the ‘Magic’ part. So I teamed up with Gustav to make sure we have a solid basis in Magic, Cognitive Psychology and Software Testing.