0
worthyvii created
What is the recommended way to write tests which test input which depends on tenant ID? (Create message, for example)
1 Answer(s)
-
0
Hi,
Have you seen unit tests for aspnetboilerplate module zero template ? Here <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-template/tree/master/src/Tests/AbpCompanyName.AbpProjectName.Tests">https://github.com/aspnetboilerplate/mo ... Name.Tests</a>.
This base class for unit tests might give you an idea <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-template/blob/master/src/Tests/AbpCompanyName.AbpProjectName.Tests/AbpProjectNameTestBase.cs">https://github.com/aspnetboilerplate/mo ... estBase.cs</a>