Skip to content
Discussion options

You must be logged in to vote

Both come from the spec file itself — not from the class you put the annotation on.

The name is the spec file's own name, without its extension, plus a suffix:

specs/ShoppingCart.specb   →   ShoppingCartScenarios

The suffix is Scenarios by default. In concrete mode it's Test instead. Both are
configurable.

This is the same however you point SpecBinder at your specs — one exact path, or letting it find
several for you. A class named ShoppingCartFeature pointing at ShoppingCart.specb still
produces ShoppingCartScenarios, not ShoppingCartFeatureScenarios.

The package is the folder the spec file sits in, read as a package path:

Spec file Generated class
specs/ShoppingCart.specb specs.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dmytro-stasyuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant