Created
April 16, 2014 22:54
-
-
Save cbfranca/10940428 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Tag("AnotherTag")] | |
class AnotherSpec : nspec | |
{ | |
void describe_rentabilidade_produtos() | |
{ | |
context["when data are valids"] = () => | |
{ | |
it["b"].should_be("b"); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Tag("SomeTag")] | |
class SomeSpec : nspec | |
{ | |
void before_all() | |
{ | |
Console.WriteLine("Database stuff..."); | |
} | |
void describe_rentabilidade_produtos() | |
{ | |
context["when data are valids"] = () => | |
{ | |
it["test"].should_be("test"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is how i'm running tests:
NSpecRunner.exe Everest.ControleFundos.Specs.dll --tag SomeTag;
NSpecRunner.exe Everest.ControleFundos.Specs.dll --tag AnotherTag;