Page 39 of 126 (2519 total posts)

March 2022

09-03-2022
How Good Is Your Test Suite? | Codementor

How Good Is Your Test Suite? | Codementor

Source: codementor.io

Relying solely on code coverage as a measure of test quality is not enough. Introduce mutation and property-based testing to see how good your tests and code actually are.

Tags: mutation-testing properties software bugs testing airplane warstories quality test
04-03-2022
Testing network services in Ruby is easier than you think

Testing network services in Ruby is easier than you think

Source: justinweiss.com

You’ve started a new project and it’s time for your code to depend on a third-party service. It could be something like ElasticSearch, Resque, a billing provider, or just an arbitrary HTTP API. You’re a good developer, so you want this code to be well tested. But how do you test code that fires off requests to a service that’s totally out of your control?

Tags: doubles ruby network soa cosi105 test

February 2022