Occasionally developers want the ability to provide a dynamic data set to a unit test. You could accomplish this by connecting to a database but that would fall under an integration test. Junit 4 introduced a new feature called Parameterized which allows you to declare a static data set that will get passed to a test. Follow the steps below to create Parameterized tests.