pvlakshm / mstestex Goto Github PK
View Code? Open in Web Editor NEWMSTest V2 Test Framework Extensions
License: MIT License
MSTest V2 Test Framework Extensions
License: MIT License
A test methos set to retry in set number of times shown as failed in VS2017 test runner.
setup a test in VS2017. Set method to retry 5 times.
If test failed first attempt it should retry to execute the test and on second attempt if test run successfully test runner should show array of test results and test ruunner highlight test as successfull.
Test runner show test as failed.
v1.0.2
on success of a retry, atpreset im filtering failed testresult and returning only success trest result from arrat of testresult.
I would want to caught and made available the exception thrown by Test Method in Test Cleanup and update to TFS or any other test management tool under the Test case associated with Test Method.
What steps can reproduce the defect?
Please share the setup, commandline for vstest.console, sample project, target
framework etc.
Share the expected output
What is the behavior observed?
Please share additional details about the test environment.
Operating system, Build version of vstest.console
From @dotMorten
... create a new TestMethodExAttribute instead and make the retry an attribute. Makes it possible to create all sorts of attributes that control execution.
Please add the ability to your MSTestEx not to fail the test if it failed on the first try but passed on second or third try (depending on settings)
From @SturlaThorvalds here.
Given that I run test with retry attribute with the value of N and some of those times test fails, mixed results are returned to MSTest framework, and as the result test is marked as failed.
Create test with retry attribute, with the value of 5
Fail test 4 times out of 5
Test run is marked as successful
Test run is not marked as successful
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.