In my Azure Pipeline, i am trying to build the code and run the code. So i have included "NuGet Restore", "Build Solution" and "VS Test" task. When i am trying to apply filter criteria in VS Test, it shows error that no Test case found with in that search criteria;. Can any one help me in this case.
NUnit couldn't find any tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.Objects\bin\Release\NUnit3.TestAdapter.dll Running all tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.PageObjects\bin\Release\NUnit3.TestAdapter.dll NUnit couldn't find any tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.PageObjects\bin\Release\NUnit3.TestAdapter.dll Running all tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.Resource\bin\Release\NUnit3.TestAdapter.dll NUnit couldn't find any tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.Resource\bin\Release\NUnit3.TestAdapter.dll Running all tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\Automation.TestSuite.dll NUnit3TestExecutor converted 213 of 213 NUnit test cases Skipping assembly - no matching test cases found Running all tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\Microsoft.TeamFoundation.Test.WebApi.dll NUnit couldn't find any tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\Microsoft.TeamFoundation.Test.WebApi.dll Running all tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\Microsoft.TeamFoundation.TestManagement.WebApi.dll NUnit couldn't find any tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\Microsoft.TeamFoundation.TestManagement.WebApi.dll Running all tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\NUnit3.TestAdapter.dll NUnit couldn't find any tests in C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\NUnit3.TestAdapter.dll NUnit Adapter 3.9.0.0: Test execution complete No test matches the given testcase filter Category = Enrollment
in C:\AzureAgent2_work\2\s\Main\Business\Automation.Objects\bin\Release\NUnit3.TestAdapter.dll C:\AzureAgent2_work\2\s\Main\Business\Automation.PageObjects\bin\Release\NUnit3.TestAdapter.dll C:\AzureAgent2_work\2\s\Main\Business\Automation.Resource\bin\Release\NUnit3.TestAdapter.dll C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\Automation.TestSuite.dll C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\Microsoft.TeamFoundation.Test.WebApi.dll C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\Microsoft.TeamFoundation.TestManagement.WebApi.dll C:\AzureAgent2_work\2\s\Main\Business\Automation.TestSuite\bin\Release\NUnit3.TestAdapter.dll
My Test Suite will Look like.
// [Category("Enrollment")]
// [Category("Regression_TS")]
// [Test, TestTimeOutValue, Parallelizable(ParallelScope.Self), TestDescription("Enroll_001 - Enroll Button\n" +
// "Enroll_002 - Log In to Business\n" +
// "Enroll_003 - Log Out of Business")]
Aucun commentaire:
Enregistrer un commentaire