Questions tagged [nspec]

NSpec is a BDD framework for .NET of the xSpec (context/specification) flavor. NSpec is intended to be used to drive development through specifying behavior at the unit level. NSpec is heavily inspired by RSpec.

NSpec is a BDD framework for .NET of the xSpec (context/specification) flavor. NSpec is intended to be used to drive development through specifying behavior at the unit level. NSpec is heavily inspired by RSpec. Visit http://nspec.org for more information.

19 questions
0
votes
0 answers

Is NSpec dead? is there a successor?

Does anyone know if NSpec or similar alternatives are still active? Been in the Scala world for a little while recently and when I came back to C# I suddenly found the standard unit test style in C# really clunky. I came across NSpec and really…
chrispepper1989
  • 2,100
  • 2
  • 23
  • 48
0
votes
2 answers

Unable to set public properties on instance of C# Class

I'm trying try to write my first NSpec test in a Mobile Service application. I created an attribute in the spec. But when I try to access that element on the next line I can't access the public properties on the instance because Visual Studio is not…
Antarr Byrd
  • 24,863
  • 33
  • 100
  • 188
0
votes
2 answers

NSpec and multiple befores

I'm playing with NSpec and I'm confused with the before example: void they_are_loud_and_emphatic() { //act runs after all the befores, and before each spec //declares a common act (arrange, act, assert) for all subcontexts act = () =>…
Setar
  • 261
  • 3
  • 10
0
votes
1 answer

Can anyone show me some examples of NSpec being used to test controllers (and other aspects of MVC site)?

I'm starting working with NSpec but would love a few pointers on the right way to use it to spec or test my controllers. Basically a few examples would go a very long way. Are there any example projects out there? All help would be…
richardwhatever
  • 4,564
  • 5
  • 23
  • 26
1
2