# Thursday, June 24, 2021

GCast 112:

Passing parameters to xUnit.net tests with the InlineData attribute [GCAST 112 ]

If you have multiple unit tests with redundant code, it may make sense to create a single test and pass parameters to it. You can do this using the [InlineData] attribute of xUnit.net.

You can find the source code at https://github.com/DavidGiard/XUnitDemo