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

Testing on the JVM with JUnit5

December 4, 2017 0

JUnit 5 is the next generation of JUnit. The goal is to create an up-to-date foundation for developer-side testing on the JVM. This includes focusing on Java 8 and above, as well as enabling many different styles of testing.

Mixing Tests and Production Code With Doctest

October 25, 2017 0

doctest is a fully open source light and feature-rich C++98 / C++11 single-header testing framework for unit tests and TDD. It is inspired by the unittest {} functionality of the D programming language and Python’s docstrings. Tests can be considered a form of documentation and should be able to reside near the production code which they test. This is not possible (or at least practical) with any other testing framework for C++.

Scaling xUnit Test Runners

October 19, 2017 0

xUnit test runners are one of the basic capabilities of rapid iterative development practices such as Continuous Integration and Test Driven Development. This presentation explores how test runners are generally implemented in modern programming languages like PHP, JavaScript and Ruby.

A Baseline Approach to Software Testing

October 9, 2017 0

Unit testing and Test-Driven-Development (TDD) are an important part of every Agile software testing strategy. One of the issue associated to these techniques is the coupling between the source code and its tests. In his blog post, Tingan Ho presents a testing strategy, called Baseline Testing, that should solve the coupling issues with TDD.

Using Equivalence Partitioning in Software Testing

October 3, 2017 4

Equivalence partitioning is a software testing technique that can be used during test design to divide the test data into sets of equivalent data called partitions from which you can build your test cases. In this extract from her book “Guide to Advanced Software Testing”, Anne Mette Hass provides an introduction to the concept of equivalence partitioning.

Test Automation Starts with Unit Testing

September 25, 2017 0

Even if they are at the basis of the software testing pyramid and they are at the heart of the Test-Driven Development (TDD) approach, unit tests are still a controversial topic in software development and some people event consider that most unit testing is waste. In his blog post, Bas Dijkstra explains why he thinks that unit testing should be the basis of any solid automation strategy.

Unit Testing for C++

September 4, 2017 0

Even if C++ is less “trendy” that current web development languages like JavaScript, it is still a fundamental technology for many embedded software development projects. In his article, Diego Dagum provides some basic principles of testing in C++.

1 2 3 4 5 27