ordered-test

Run TestFixtures in Order with NUnit

大兔子大兔子 提交于 2019-12-24 04:35:13
问题 I need to have ordered test fixtures in my NUnit c# Application. I have an example on how to run ordered test methods from this page, and I've tried to implement the same logic for test fixtures with the same methods provided in the example application. In our application a test fixture is separated for each class and each test fixture has one test method. Our latest attempt was to use a Parent Test Fixture which inherits from a class called: OrderedTestFixture (the same as in the example),

Web test details are not displayed when ran from an ordered test

廉价感情. 提交于 2019-12-20 04:13:31
问题 I have an ordered test that contains 4 web tests. The problem is that Visual Studio seems to have a problem loading the test results for an individual test. I included a screenshot to supplement for the 1000 words. :) As you may see the 3rd test, called intuitively Webservice03, failed. The screenshot above was taken after I double-clicked on the corresponding line to open the detailed information about that test run. The panels with requests and other useful information are empty. The issue

Task Scheduler not executing batch (bat) file with MSTest commands

左心房为你撑大大i 提交于 2019-12-13 05:54:24
问题 I have several batch files which set a log file path and start visual studio 2010 ordertests. When I execute a batch file from windows explorer it runs perfectly. The problem is that when I use the Windows Task Scheduler to run a batch file my orderedtest is not executed. Sample Code: ::: ::: This batch kicks off the searchinlineset test set node. ::: SetLogPath.vbs "\\spm08r2dw\ATPData\Webportal Test Results\" %comspec% /c "call "%VS100COMNTOOLS%vsvars32.bat" & mstest /testcontainer:"

Web test details are not displayed when ran from an ordered test

≡放荡痞女 提交于 2019-12-02 04:54:37
I have an ordered test that contains 4 web tests. The problem is that Visual Studio seems to have a problem loading the test results for an individual test. I included a screenshot to supplement for the 1000 words. :) As you may see the 3rd test, called intuitively Webservice03, failed. The screenshot above was taken after I double-clicked on the corresponding line to open the detailed information about that test run. The panels with requests and other useful information are empty. The issue is quite annoying, because the test is part of a bigger test suite that runs periodically, so when it