fschwiet / DreamNJasmine

A DSL for writing tests as Given/When/Then specifications, inspired by Jasmine.
MIT License
40 stars 6 forks source link

integrate with NUnit Test Adapter for Visual Studio #20

Closed wangvnn closed 9 years ago

wangvnn commented 9 years ago

It would be nice if NJasmine works with NUnitest Test Adapter. http://nunit.org/index.php?p=vsTestAdapter&r=2.6

I use NJasmine because I cannot find anything out there that can do simple but effective BDD. The real blocker for NJasmine maybe the test runner which may be fixed with the Adapter so that people can use VS text explorer and runner.

Thank you for wonderful work. Let me know if I can help to work on the adapter. I am learning VS extension now.

fschwiet commented 9 years ago

I did have NJasmine working in VS2012's test runner (see branch https://github.com/fschwiet/DreamNJasmine/tree/vs2012). I forget how "finished"/"stable" it was. I abandoned the effort because NJasmine tests tend to have long names, and the Visual Studio UI did not handle them well at the time.

I don't know if the VsTestAdapter would be an easier approach. Feel free to work on it, though to be honest I probably won't be participating myself. Its been so long I don't even think I can offer much guidance. The psake file does have some VS2012 specific tests that can be run, that might be the place to start (see https://github.com/fschwiet/DreamNJasmine/commit/09c5d3c5f0adb4ff18833da925d485de797bd2b2 where they were disabled).

wangvnn commented 9 years ago

This is great. Thanks a lot. NJasmine has a chance to conquer the .net land, since I cannot find anything around like this. /quang

On Wed, Jan 7, 2015 at 2:49 PM, fschwiet notifications@github.com wrote:

I did have NJasmine working in VS2012's test runner (see branch https://github.com/fschwiet/DreamNJasmine/tree/vs2012). I forget how "finished"/"stable" it was. I abandoned the effort because NJasmine tests tend to have long names, and the Visual Studio UI did not handle them well at the time.

I don't know if the VsTestAdapter would be an easier approach. Feel free to work on it, though to be honest I probably won't be participating myself. Its been so long I don't even think I can offer much guidance. The psake file does have some VS2012 specific tests that can be run, that might be the place to start (see 09c5d3c https://github.com/fschwiet/DreamNJasmine/commit/09c5d3c5f0adb4ff18833da925d485de797bd2b2 where they were disabled).

— Reply to this email directly or view it on GitHub https://github.com/fschwiet/DreamNJasmine/issues/20#issuecomment-68985334 .