I just stumbled upon NJasmine on GitHub. I never used it, but thought it could help others, like me, who want awesome Jasamine in C # unit tests.
From GitHub:
NJasmine is the RSpec-ish testing language created by the Javascript Jasmine library ( http://pivotal.github.com/jasmine/ ) for C # /. Net programming.
given("some preconditions", () => { var range = 10; when("the system under test is ran", () => { var sut = new SystemUnderTest(); bool score = arrange(() => sut.Fire(range)); then("win!", () => { expect(() => score); }); }); });
Available on Nuget: http://nuget.org/List/Packages/NJasmine
Again, I cannot vouch for this because I have not used it, but I hope that this information will be posted here, this will help others make informed decisions.
NTN
Graehamf
source share