All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
0.9.1 - 2022-08-04
- Fix extension failures related to the way Minitest sets up its seed (or in this case, doesn't). Thanks @blowmage, @pnomolos, and @SergeyBurtsev! (#100)
- Fix CI failures due to a mistake in
bin/setup
. (#103)
0.9.0 - 2021-05-14
- Add
rubyTestExplorer.debugCommand
configuration. Allows customizing how the Ruby debugger is accessed, e.g.bundle exec rdebug-ide
. Thanks @Juice10! (#72)
- Do not replace underscores in Minitest test names that contain whitespace (e.g.
'Object#foo_bar should work'
). Thanks @jochenseeber! (#67) - Remove colon and leading whitespace from beginning of Minitest test names, when relevant. Thanks @jochenseeber! (#62)
- Add
.vsix
files to.gitignore
and.vscodeignore
. Thanks @jochenseeber! (#61)
0.8.1 - 2021-05-14
- Increase the minimum VS Code version required for the extension to v1.54 (the February 2021 release).
- Disable the extension in Untrusted Workspaces and Virtual Workspaces. It shouldn't be enabled if the code in the repo isn't trusted (since it essentially executes arbitrary code on-load) and cannot work in a Virtual Workspace since Ruby gems need to be installed and test files must all be available.
0.8.0 - 2020-10-25
- Add support for debugging specs. Thanks @baelter and @CezaryGapinski! (#51)
- Add
filePattern
configuration support for RSpec. (#51)
- BREAKING:
minitestFilePattern
renamed tofilePattern
to make it work for both test frameworks we support. (#51)
- Fix extension failing when
TESTS_DIR
environment variable wasn't set correctly. Thanks @dwarburt! (#47) - Fix
EXT_DIR
environment variable and line number handling in minitests for Windows OS. Thanks @CezaryGapinski! (#51)
- Add RSpec tests.
0.7.1 - 2020-02-12
- Improve the way errors are handled when loading a project's RSpec tests. (#43)
0.7.0 - 2020-02-12
- Add support for
Minitest::Spec
-style tests and allow configuration of the minitest files' file pattern withminitestFilePattern
. Thanks @baelter! (#34)
- Fix minitest nested tests. Thanks @baelter! (#37)
- Fix tests not running properly when the path had a space in it. Thanks @noniq! (#42)
0.6.1 - 2019-12-10
- Update npm dependencies.
- Fix a typo in the README config table. Thanks @maryamkaka! (#24)
- Fix a missing require and detection of tests when test files start with
test_
rather than ending with it. Thanks @agilbert201! (#33)
0.6.0 - 2019-07-07
- Add support for multi-root workspaces. The test adapter should now work properly when run with multiple workspaces open at once.
0.5.6 - 2019-06-22
- Fix error when running Minitest suites if JSON wasn't loaded. Thanks @afuerstenau! (#19)
0.5.5 - 2019-06-11
- Fix Minitest integration relying implicitly on Rails/ActiveSupport functionality. Thanks @ttilberg! (#17)
0.5.4 - 2019-06-04
- Fix the 'open source file' button not working on test suites.
0.5.3 - 2019-06-03
- Fix the problem where the test runner was able to get into a state where the tests would never finish, leading to a "Stop" button that was stuck forever.
0.5.2 - 2019-06-01
- Fix an issue where the test runner could get stuck without being able to finish.
0.5.1 - 2019-06-01
- Add line decorations in RSpec file where a given test failed. Includes the error message.
- Catch an error that can occur while auto-detecting the test framework where
bundle list
can fail.
0.5.0 - 2019-06-01
- Add Minitest support. Thanks @cristianbica! (#14)
- The test framework is detected automatically based on the gems installed in the current Bundler environment, no changes should be necessary to continue using the extension. You can also override the test framework manually with the
testFramework
setting if necessary.
- The test framework is detected automatically based on the gems installed in the current Bundler environment, no changes should be necessary to continue using the extension. You can also override the test framework manually with the
- Add an automated test watcher, tests will now reload automatically when a file in the configured test/spec directory changes.
- [BREAKING] Renamed
specDirectory
config option torspecDirectory
for consistency. If you've configured a special RSpec directory you'll need to change the setting name.
0.4.6 - 2019-05-24
- Fix
ActiveSupport#to_json
error when test is not wrapped with a string-based describe/context block. Thanks @apolzon!
0.4.5 - 2019-05-22
- Add Troubleshooting section to extension README.
0.4.4 - 2019-05-22
- Add better logging throughout the extension.
- Fix a bug that caused an RSpec 'dry-run' to be run before every test run. Test suites should run a bit faster now.
0.4.3 - 2019-05-17
- Fix parsing initial JSON so it's less likely to fail when there are other curly braces in the RSpec output.
- Fix 'max buffer' errors by raising the max buffer size to 64MB. Hopefully no one ever hits this.
0.4.2 - 2019-05-14
- Run tests in a given file at once, rather than one-at-a-time. This makes running tests for a file much faster than it was previously.
0.4.1 - 2019-05-14
- Add support for cancelling a test run.
0.4.0 - 2019-05-13
- The extension now uses a custom RSpec formatter. This is mostly useful for future enhancements.
- Test statuses will now be updated live as the test suite is run.
0.3.3 - 2019-05-12
- Strip repetitive model names from test labels. e.g. "GameGenre Validations blah blah blah" becomes "Validations blah blah blah", since GameGenre can be assumed from the filename.
0.3.2 - 2019-05-12
- Fix randomized ordering of tests in the explorer by having RSpec order be defined when getting the tests initially.
0.3.1 - 2019-05-11
- Only activate the extension when Ruby files are present. This prevents warning messages about initializing RSpec in projects that don't use Ruby.
0.3.0 - 2019-05-11
- Add proper hierarchy information based on the subdirectory of the spec file.
- Add a warning message if the extension fails to initialize RSpec.
- Add configuration setting for the
spec
directory.
0.2.3 - 2019-05-08
- Add information to README.
- Improve extension icon.
0.2.2 - 2019-04-27
- Add setup instructions to the README.
0.2.1 - 2019-04-27
- Fix
rspecCommand
configuration not working.
0.2.0 - 2019-04-27
- Add configuration option
rubyTestExplorer.rspecCommand
for setting a custom Rspec command for the runner (default isbundle exec rspec
).
0.1.0 - 2019-04-27
Initial release.