JUnit Theories allow to generate test data using parameter suppliers. In this post we’re going to implement ParameterSupplier that produces Fibonacci numbers and as source of test data.
JUnit Theories comes parameter suppliers that can generate values for test parameters based on specified criteria. In this post we present a number of built-in parameter suppliers, ready for reuse!
JUnit Theories is advanced and experimental feature that allows to execute tests with selection of dynamically generated data. In this post we’re going to show how to provide input data using DataPoints.
JUnit comes with a bunch of rules, but sometimes writing own JUnit Custom Rules is useful. In the following tutorial we’re going to show to way to do that.
JUnit Rules is a flexible mechanism to enhance tests by executing code around them. JUnit provides built-in rules and makes it very easy to write custom rules!
How to control JUnit test execution order? It’s not only possible, but also easy in recent versions of the most popular testing library!
JUnit Assume is a handy feature that allows developer to specify assumptions about execution environment and hence execute tests conditionally. It’s practical and easy to use.
JUnit Parameterized Tests are JUnit’s way to execute one test multiple times, but with different data sets. This is commonly known as data-driven testing.
JUnit Test Suite is a powerful feature to group a bunch of related tests in one place for easy execution. In this post we’re going to show how to use Test Suites in practice.
What are JUnit Test Runners and how to use them? In this post we present this powerful JUnit’s extension mechanism. Learn how to use it like a pro!