Unit Testing in C# using XUnit
Part of the .NET Foundation, xUnit.net is an open source unit testing tool for the .NET Framework (C#, F#, VB.NET, etc). xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin.
Tutorials and resources on how to apply unit testing in software testing
Part of the .NET Foundation, xUnit.net is an open source unit testing tool for the .NET Framework (C#, F#, VB.NET, etc). xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin.
The possibilities to write parametrized tests have changed and improved a lot with the release of JUnit 5, the open source unit testing tool for Java. In his blog post “Using JUnit 5 Parameterized Tests, Argument Sources and Converters”, Micha Kops provides an overview covers all new types of parameter sources for JUnit 5 tests as well as the new conversion API for test arguments.
Probably there is no Java developer in the world who writes tests and haven’t heard about Mockito. That most popular mocking framework for Java will be celebrating its 10th birthday soon. However, I don’t plan to brood the history. At the end of 2016 the new and shiny Mockito 2 has been released.
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.
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++.
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.
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.
Copyright © 2009-2026 Software Testing Magazine by Martinig & Associates