All notable changes to the "spec-runner" extension will be documented in this file.
- Add missing code lens support for
Rspec.describe Class::Name, "string" dosyntax (thanks steveclarke)
- Add support for capybara's
scenario,specify, andfeature(thanks steveclarke)
- Codelens support for running more types of examples
- End of line comments shouldn't break codelens support
- Improvements for rspec:
- Include test run time in the hover messages for test results
- Attempt to put test results in the right place if the file was edited between starting the test and the test finishing
- Acknowledge that a pending test could be pending (previously the hover message only mentioned that the test was skipped)
- Add configuration for clearing the terminal before running test commands
- Fixed issue with multiple results (current and stale results) showing up for a single line
- Fixed Run Spec / Run Minitest buttons that were relying on the commands removed in the previous release (-‸ლ)
- Restrict keyboard shortcuts to ruby files only
- Add code lens support for more rspec line types
- BREAKING Removed
ruby-spec-runner.runSpec&ruby-spec-runner.runMinitestcommands as they were superfluous. - BREAKING Changed keyboard shortcut for running entire spec (now uses shift)
- Add new command for running just the current line (uses the old shortcut)
- Add code lens support for more rspec line types
- When a file is changed the extension will try and be a bit smarter about how it figures out where the decorated lines have moved to. It's still using a dumb solution and will sometimes get it wrong, but hopefully less wrong than before.
- Add option to configure the position of results highlighting in the overview ruler
- Clarify the confusing wording for pending and skipped tests in the editor decorations
- BREAKING Rename extension commands. Any customised keyboard shortcuts for this extension will no longer work
- Add command to clear test results
- Add configuration to hide stale results
- Bug fix (was unable to reopen SpecRunner and MinitestRunner terminals if they were closed)
- Bug fix (was sometimes accessing property of undefined (-‸ლ))
- Code lens support for rspec describe blocks with modules (eg. "describe MyModule::MyClass")
- Minitest interpreter is slightly better at figuring out which test failed when the failure occurred in a setup block
- Minitest interpreter is slightly better at figuring out which test failed for single test runs
- Editor decorations for test results are better at staying up to date with changes
- Better detection for when minitest fails to finish
- Support minitest error results
- Initial release