Software Testing and Development Blog Posts
Subscribe to the full blog feed using RSS
Subscribe to the full blog feed using RSS
TLDR; Reverse counterstrings are easier to generate. Creating same output forward is harder but might be useful for streaming or files.
TLDR: Learn one programming language and you have already learned parts of other languages. You can speed up learning other languages by learning the differences.
I wrote a bunch of code in Java in my Test Tool Hub for generating CounterStrings.
I thought it would be useful to have it online and written in JavaScript.
TLDR; Too many scope and reporting restrictions on testing attenuates both noise and signal.
TLDR; Everyone experiences rejection. We need strategies for how we respond to it.
Have you ever been rejected?
Of course. Everyone has. The problem is not being rejected. The problem is how do we handle being rejected.
TLDR: Spark is static so having it run in an @BeforeClass allows HTTP request testing to begin.
I use Spark as the embedded web server in my applications. I also run simple HTTP tests against this as part of my local maven build. And I start Spark within the JUnit tests themselves. In this post I’ll show how.
TLDR: when I have a small set of HTTP use-cases, and I’m working on fast in-build HTTP integration verification then I’ll probably use HttpURLConnection
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.
TLDR: Learn Java by taking advantage of code completion and JavaDoc in the IDE to explore classes with JUnit Tests
I my book Java For Testers I encourage the reader to experiment when learning Java by writing small JUnit tests to explore classes. I’m going to expand on that concept in this blog post and the associated video.
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.
TLDR; Turnkey linux VM for testing Tracks using network settings Bridged, or Host Only.
I normally use VM Ware, but I create a video showing Turnkey Linux and Virtual Box to help people with the network settings.