Quantcast
Channel: Testing – Shaun Abram
Browsing all 20 articles
Browse latest View live

FindBugs

Came across this really neat tool that can actually find bugs in your code. It uses ‘static analysis’ to find instances of bug patterns – code instances that are likely to be errors. I was pretty...

View Article


Silicon Valley Code Camp Notes

I am at the Silicon Valley Code Camp at the moment. I will try to post some notes on the various talks I attend below… Day 1: Session 1: JavaScript Session 2: Easing into Agile Session 3: Building...

View Article


Running Hibernate unit tests with Maven

I recently converted a project I have been working on to use Maven. After setting up all the dependencies in the pom, I got everything compiling fine but ran into problems getting the unit tests to...

View Article

Selenium talk at SF JUG

I attended another great San Francisco JUG meeting tonight, this time on How to use Selenium with Maven/Ant to automate testing of web apps. The talk was given by Chris Bedford, from Build Lackey Labs...

View Article

Hamcrest

Hamcrest is a framework for writing matcher objects. Matchers have a variety of uses, but are particularly useful when writing unit tests. Instead of using JUnit’s assertEquals methods, we use...

View Article


Hamcrest Matcher

As a follow up to the Hamcrest post I made yesterday, I wanted to post an example of my own Hamcrest matcher implementation. This matcher tests if a string contains a specified number of substrings. An...

View Article

Spring MVC Hello World with Continuous Deployment

Oh dear, yet another ‘Hello World!’. But although the functionality is trivial, this little SpringMVC project is complete enough for me to use as a template to bootstrap more complex projects. It...

View Article

Image may be NSFW.
Clik here to view.

Software Quality via Unit Testing

The following post is based on a talk I gave at Desert Code Camp 2013. See also the associated slide deck. Software quality is critical to consistently and continually delivering new features to our...

View Article


Builder Pattern: Good for code, great for tests

I’ve found the builder design pattern occasionally useful in code, but frequently useful in tests. This article is a quick summary of the pattern in general, followed by look at a working example of...

View Article


Test Doubles: mocks, dummies and stubs

Most classes have collaborators. When unit testing, you usually want to avoid using real implementations of those collaborators to avoid test brittleness and binding/coupling, and instead use Test...

View Article

Unit Testing – the Hard Parts @ NYC Code Camp

Thanks to everyone who came to my “Unit Testing – the Hard Parts” presentation @ New York Code Camp. I really enjoyed it! Great crowd, lots of follow up questions. And cool Microsoft office space in...

View Article

Running tests in IntelliJ for a multi module maven project

This post shows how to run all the tests in IntelliJ for a multi module maven project. From the menu, select Run -> Edit Configurations… Select + Add New Configuration -> JUnit In the “Run/Debug...

View Article

Running an individual unit test with maven

Individual tests can be run from maven. This must be done from within the folder that contains the source (as in the folder that contains src/test/java), which will likely be either be the root of your...

View Article


Image may be NSFW.
Clik here to view.

Testing in Production

“Testing in production” used to be a joke. The implication was that by claiming to test in production, you didn’t really test anywhere, and instead just winged it: deploying to production and hoping...

View Article

Image may be NSFW.
Clik here to view.

Book summary: Distributed Systems Observability

“Distributed Systems Observability” is a book from Cindy Sridharan (find her on twitter, and medium), available as a free download here (registration required). At a little over 30 pages and 8,000...

View Article


Image may be NSFW.
Clik here to view.

Testing in Production Presentation – SVCC 2018

The following post is essentially a written version of the Testing in production talk I gave at Silicon Valley Code Camp 2018. You can find the presentation deck here at slideshare. Introduction The...

View Article

Talk summary: SRE principles by Tori Wieldt @ AWS re:Invent 2018

I caught a talk by Tori Wieldt at the New Relic booth at AWS re:Invent on “SRE principles”. Even though it was a short talk in the expo hall, rather than a formal scheduled one, it had a ton of good...

View Article


Blog post summary: We need to talk about testing

I liked this “We need to talk about testing” post from Dan North. It’s about what testing actually means and how programmers and testers can work together. A summary (or copy & paste of the parts...

View Article

Image may be NSFW.
Clik here to view.

Shift Left

Defining the term shift left to mean testing earlier in the development cycle feels antiquated since waiting until development is “complete” before testing is a plain ol’ anti-pattern at this point. A...

View Article

Blog post summary: Quality Assurance is Not About Testing

The following is a summary of Quality Assurance is Not About Testing by Matt Lievertz. I have also incorporated some elements of his earlier The Death of the Non-Coding QA Role post too. A brief...

View Article
Browsing all 20 articles
Browse latest View live


Latest Images