Sunday, 15 January 2012

c# - TDD in the new Visual Studio vNext/2015 -


I'm trying the new Visual Studio 2015 CTP6 and the first thing was that the new < Strong> ASP.Net 5 is not an option to create a test project (it is disabled) ... Now, VS 2015 launched the Smart Unit Test , but it does not Suitable for TDD , this idea is to generate unit testing for the already existing code.

Perhaps a nougat package exists to implement TDD, but I feel weird, I believe that it has not come out of the box anymore.

So, how to implement TDD in the new Visual Studio 2015 CTP6?

Enter image details here

update < / Strong> 3/22/2015

Some links related to this unresolved issue:

  • Great questions here I settled on. I will not say this ideal and maybe there is a better way I do not know.

    1) Use the exotic - If you look at the ASPNR repository on the gitub, you will see the most, otherwise the test written with XUnit.

    2) Visual studio IDE support for XYNET is not yet available for ASPNET5 based tests. You have to run them at the command prompt. This link discusses the preparation of unit test set up and runs for ASPNETE 5. 3) In complicated cases, the release version of XUnate does not support ASPNET5, but RC3 does it and it is still available on Nuget. According to this tweet, the support of ASPNET5 will return in xUnit 2.1, whose version should be released soon.

    4) Even after following all the instructions, I had a problem, which I believed was that my project is a UNC path rather than a path with a drive letter, do not do it That you cut.


    No comments:

    Post a Comment