Tutorials and resources on how to apply unit testing in software testing

How to Choose the Right Name for Unit Tests

May 22, 2023 0

As unit testing is often the first quality activity targeting code during the software development lifecycle, this article considers several examples of effective approaches to the naming of unit tests.

Software Testing Tools in Visual Studio

May 1, 2023 0

This presentation shows how you can take advantage of the most recent additional to the unit testing tools in Visual Studio to build more reliable apps. Besides Visual Studio own tools, you can also run unit tests in Visual Studio by using third-party test frameworks such as NUnit, Boost, or Google C++ Testing Framework, depending on your programming language.

Open Source Database Testing Tools

February 14, 2023 6

Database testing is one of the areas that might have the smaller number of open source tools. The programming languages have many xUnit tools and mocking frameworks, but this is not the case for databases. This article provides a list of open source tools that can be used to perform unit, load and security testing on several relational (MySQL, Oracle, SQLServer, etc.) and NoSQL databases.

Does TDD Lead to Good Design?

December 7, 2020 0

“TDD is a design tool.” That is what the presenter has said for years. But not anymore. After working with different teams and in different organizations, and also carefully inspecting how he works, he changed his mind about the role of Test-Driven Development (TDD) in software design.

Testing Legacy Code: Safe Refactoring

November 16, 2020 0

The paradox: I cannot test this code because it is legacy. I need to refractor the code to make it testable. How can I manage that, without breaking existing functionality? I will need to write some tests, but… argh! This presentation explains how to safely refactor and test ‘untestable’ code – without breaking any existing functionality.

Advanced Software Testing & Refactoring Techniques

March 24, 2020 0

When you inherit difficult code it can take weeks to become productive. Having the right tools for software testing and refactoring job and knowing how to use them makes a huge difference. Emily Bache explains this in a series of three posts that deal with approvals and mutation testing; the Lift-Up Conditional refactoring technique; replacing conditional with polymorphism.

Java Unit Testing: Spock versus JUnit 5

March 25, 2019 0

Spock was a game changer for all the Java software developers struggling with unit testing in JUnit 4. Compact syntax, parameterized tests or flexibility to mention just a few advantages. Over 10 years after JUnit 4.0, the brand new, written from scratch, Java 8 optimized JUnit 5 has been released. Is it still worth to write tests in Spock?

1 2 3 27