Skip to content

Add HspecOpenTest command and default mapping - #5

Open
alx741 wants to merge 7 commits into
hspec:masterfrom
alx741:openTest
Open

Add HspecOpenTest command and default mapping#5
alx741 wants to merge 7 commits into
hspec:masterfrom
alx741:openTest

Conversation

@alx741

@alx741 alx741 commented Dec 22, 2016

Copy link
Copy Markdown

So here is a little convenience: When working in a file Foo.hs now is possible to do ghs (the default mapping) to jump to FooSpec.hs.

This defines a command HspecOpenTest and a default mapping for it ghs.

It allows some configuration as well:

  • Disable the default mapping (ghs)
  • Add directories where to look for the tests (recursively)
  • Test files prefix
  • Test files suffix (default is Spec)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant