Tag: Tdd
-
Stubbing and mocking in Java with the Spock testing framework
Posted on July 20, 2018, Level advanced Resource Length long
Kostis Kapelonis wrote this piece on importance of stubbing and mocking. When it comes to true unit tests, having a mocking framework such as Spock for Java is essential. Using a mocking framework ensures that your unit tests are fast, self-contained and deterministic.
Tags programming java tdd
-
Software testing anti-patterns
Posted on June 26, 2018, Level beginner Resource Length long
Article by Kostis Kapelonis in which he wants to catalog some high-level testing anti-patterns that are technology agnostic. Hopefully you will recognize some of these patterns regardless of your favorite programming language.
Tags programming tdd agile
-
Using unit tests to identify and avoid memory leaks in Swift
Posted on June 20, 2018, Level intermediate Resource Length medium
John Sundell blog post about memory leaks in Swiflang. In it he discusses managing memory and avoiding leaks and how it is a crucial part of building any kind of program. According to author Swift makes this relatively easy in most situations -- thanks to Automatic Reference Counting (or ARC for short).
Tags programming swiftlang tdd
-
End-to-End web testing with TestCafe
Posted on April 20, 2018, Level beginner Resource Length medium
Moataz Nabil wrote this article about faster end to end testing of web applications. TestCafe is a Node.js tool to automate end-to-end web testing. You can write tests in JS or TypeScript, run them and view results.
Tags programming tdd nodejs
-
Golang testing at Stream
Posted on March 21, 2018, Level intermediate Resource Length long
Federico Ruggi deep dive into testing of golang apps at Stream. Stream's API is used in production by more than 500 companies and 200 million end users. While they like to move fast, they definitely don't like to break things. Stream is an API for building activity feeds that enables your development team to build personalized activity feeds this week.
Tags programming golang tdd
-
Testing microservices, Spotify experience
Posted on January 14, 2018, Level intermediate Resource Length long
André Schaffer from Spotify Labs published article about Spotify's journey to microservices testing. In a microservices world achieving confidence that the code does what it should, provide feedback that is fast and with easy maintenance became an art.
Tags microservices tdd software-architecture
-
DDD - what's wrong with CRUD
Posted on November 15, 2017, Level intermediate Resource Length medium
Golo Roden extensive article about Domain Driven Design and limitations of CRUD. CRUD is simple but limited: the artificial restriction to four verbs and the destructive actions UPDATE and DELETE cause numerous problems. Typically, you will realize these problems early on, even in small applications.
Tags programming tdd software-architecture
-
ReactJS testing migrating from Tape to Jest
Posted on October 26, 2017, Level beginner Resource Length long
Thomas Greco is the author of the post sharing his feedback about recently using Jest while contributing to the next-static project after coming across it on Next.js' repository. He shares a ton of experience writing unit tests and explores the topic a little bit.
Tags tdd nodejs javascript