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.
Continue reading JUnit Theories with homemade ParamaterSuppliersJUnit
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!
Continue reading JUnit Theories with built-in ParamaterSuppliersJUnit 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.
Continue reading JUnit Theories with DataPointsJUnit 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.
Continue reading JUnit Custom RulesJUnit 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!
Continue reading JUnit Rules – code around testsHow to control JUnit test execution order? It’s not only possible, but also easy in recent versions of the most popular testing library!
Continue reading JUnit test execution orderJUnit 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.
Continue reading JUnit Assume – execute tests conditionallyJUnit 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.
Continue reading JUnit Parameterized testsJUnit 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.
Continue reading JUnit Test SuitesWhat 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!
Continue reading JUnit Test Runners