Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When a user wants to define a new spec, they can:
fspec
to start defining a FunSpecfspec
expands into:Where
MyTest
is based on the name of the file, and is the first focused location which lets the user change the Spec name if desired. Pressing tab moves the focus to the name of the test (Foo
). The user can change the name then press tab again to focus the test body.IntelliJ also added an import for FunSpec automatically.
Desired feedback:
What spec styles and abbreviations should we use?
So far I have added:
sspec
-> StringSpecbspec
-> BehaviorSpecfspec
-> FunSpecMaybe we can dogfood this one in the wild.. not a lot of users would find the feature w/o us advertising it somewhere.