Created
October 4, 2010 13:15
-
-
Save RobertMischke/609672 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
namespace BDDish.Tests | |
{ | |
public class PlaygroundDSLGerman | |
{ | |
[Test] | |
public void SampleForDSL() | |
{ | |
new German.Feature("Schnittstellen"). | |
Anforderung("FANTASYformat v1.0 exportieren"). | |
Als(SampleKunde.NormalerKunde). | |
AkzeptanzKriterium("Das erstellte Dokument ist gegen XSD zu validieren"). | |
Für(SampleData.A). | |
Gilt(SomeAssertionMethod). | |
Gilt(SomeAssertionMethod, ""). | |
AkzeptanzKriterium("..."). | |
Für(SampleData.B). | |
Gilt(SomeAssertionMethod). | |
Als(SampleKunde.Sondermann). | |
AkzeptanzKriterium("Die Auftragseigenschaften sind vollständig im Zieldokument zu finden"). | |
Für(SampleData.A). | |
Gilt("FeldA", Is.EqualTo("FeldB")). | |
Gilt("FeldB", Is.EqualTo("FeldB")). | |
Execute(); | |
} | |
public void SomeAssertionMethod() | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment