Coder Social home page Coder Social logo

mstestex's People

Contributors

gitter-badger avatar pvlakshm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mstestex's Issues

Retry test results are showing failed in VS2017 test runner

Description

A test methos set to retry in set number of times shown as failed in VS2017 test runner.

Steps to reproduce

setup a test in VS2017. Set method to retry 5 times.

Expected behavior

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.

Actual behavior

Test runner show test as failed.

Environment

v1.0.2

How i have overcome as of now.

on success of a retry, atpreset im filtering failed testresult and returning only success trest result from arrat of testresult.

Retry returns failing results, given there is one test result reporting about passing the test

Description

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.

Steps to reproduce

Create test with retry attribute, with the value of 5
Fail test 4 times out of 5

Expected behavior

Test run is marked as successful

Actual behavior

Test run is not marked as successful

How do I get TestMethod exception avaialble in TestCleanUp method ?

Description

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.

Steps to reproduce

What steps can reproduce the defect?
Please share the setup, commandline for vstest.console, sample project, target
framework etc.

Expected behavior

Share the expected output

Actual behavior

What is the behavior observed?

Environment

Please share additional details about the test environment.
Operating system, Build version of vstest.console

Add TestMethodExAttribute

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.