Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix: verify single when mutiple test styles are in same file #47

Merged
merged 1 commit into from
Feb 2, 2020

Conversation

gcentauri
Copy link
Collaborator

  • rename minitest--extract-str to minitest--extract-test-name
  • new defvar minitest--test-regexps for list of patterns to match
  • remove cmd parameter of minitest--post-command

This makes it so we find the nearest match and evaluate the right test when
calling the verify-single command. However, it appears that it style tests
will not work, due to the way their test names are generated internally (?).

Addresses #8

  - rename `minitest--extract-str` to `minitest--extract-test-name`
  - new defvar `minitest--test-regexps` for list of patterns to match
  - remove `cmd` parameter of `minitest--post-command`

  This makes it so we find the nearest match and evaluate the right test when
  calling the verify-single command. However, it appears that `it` style tests
  will not work, due to the way their test names are generated internally (?).
@gcentauri gcentauri added the bug label Feb 2, 2020
@gcentauri gcentauri merged commit dc308b2 into arthurnn:master Feb 2, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant