I released five new sample lessons from my Test With Spring course: Introduction to Spock Framework

Java Testing Weekly 49 / 2016

There are many software development blogs out there, but many of them don’t publish testing articles on a regular basis.

Also, I have noticed that some software developers don’t read blogs written by software testers.

That is a shame because I think that we can learn a lot from them.

That is why I decided to create a newsletter that shares the best testing articles which I found during the last week.

Let’s get started.

Technical Stuff

  • Automating Integration Testing of Spring Boot Applications on Travis CI and Sauce Labs describes how you can create a Spring Boot web application project, write integration tests that leverage remote Selenium WebDriver instances running on Sauce Labes, and run your integration tests by using Travis CI.
  • Cypress – Dealing with flaky tests describes how you can find and fix the problems found from your end-to-end tests by using the Cypress.io testing framework.
  • Lessons learned at SeleniumConf 2016 is a conference report of the SeleniumConf UK 2016. The reason why I added this post here is that some of the talks are interesting and you can watch them on Youtube.
  • More compact mock creation syntax in Spock 1.1 describes the new (and shorter) mock creation syntax of Spock Framework 1.1.
  • Selenium WebDriver: From Foundations To Framework is a book that helps you to create your own web application testing framework with Selenium WebDriver. The author describes his book as follows: Free, Selenium 3.0 compatible, and at over 420 pages this book will help you learn the fundamentals of the WebDriver API such as locating and interacting with web pages, through advanced topics such as Page Objects and mobile testing, and finally teach you how to build up your own web application testing framework.
  • Testing Services with Http in Angular 2 describes how you can write unit tests for an Angular 2 service that performs HTTP calls.
  • What to test in a React app (and why) describes what kind of tests you should write for your React application. By the way, I think that this blog post is useful even if you are not using React.js (as long as you are writing single page applications).

My "Test With Spring" course helps you to write unit, integration, and end-to-end tests for Spring and Spring Boot Web Apps:

CHECK IT OUT >>

The Really Valuable Stuff

  • Exploratory Testing with the Team: The Sequel! describes how the author helped developers to learn exploratory testing even though she had no domain knowledge. This sounds like a recipe for a failure, but the workshop turned out to be a successful event.
  • No excuses, write unit tests argues that you should stop making excuses and start writing unit tests. Also, it helps you to select your first test cases and explains what kind of benefits you will get if you write unit tests for your code.
  • Should You Write Automated Tests for your Automated Tests? talks about one very common argument that I often hear from developers who don’t want to write automated tests. In any case, if you want to find the answer to that question, you should read this blog post.

It’s Time to Update Your Dependencies

About the Author

Petri Kainulainen is passionate about software development and continuous improvement. He is specialized in software development with the Spring Framework and is the author of Spring Data book.

About Petri Kainulainen →

0 comments… add one

Leave a Comment