{{theTime}}

Search This Blog

Total Pageviews

JUnit 4 feature Parameterized tests:

- Allows to run the same test multiple times based on parameter values.

How to write the test?

- Annotate test class with @RunWith(Parameterized.class)
- Create public static method with annotation @Parameters and return collection of objects
- Create a public constructor that takes the Parameter Object type.

1 comment:

Mallory said...

Great post, much appreciate the time you took to write this.

Generate Models from SQL Server using Entity Framework Core

To generate models from SQL Server database tables using Entity Framework (EF) in .NET, you can follow the Database-First approach with Ent...