Skip to content

v0.5.0

Compare
Choose a tag to compare
@wied03 wied03 released this 20 Apr 15:39
· 239 commits to master since this release
  • By default, any subject, it example block, before(:each), after(:each), and around that returns a promise will be executed asynchronously. Async is NOT yet supported for context level hooks. Async approach from < 0.4.3 will still work.
  • Update to RSpec 3.1 (core is 3.1.7, expectations/support 3.1.2, mocks 3.1.3)
  • Opal 0.9 compatibility
  • A lot more aspects of RSpec should work now as 20+ Opal pull requests were completed from opal-rspec work
  • Remove copy of source from opal-rspec git repo (and just rely on git submodule fetch)
  • Rake task improvements:
  • supports passing a test pattern (include and exclude) and FileLists besides 'spec/*_/__spec.rb
  • colors, formatter, and additional requires can be supplied from the command line via the SPEC_OPTS environment variable
  • Formatters:
  • Fixed issues with RSpec's BaseTextFormatter and made ProgressFormatter the default when run via the Rake task
  • Fix redundant messages with expectation fails
  • Browser formatter now works w/ progress bar and has a 'Dump to console' link that will put a clickable stack trace for a failed example in the browser console
  • JSON formatter supported
  • Fixed issues with constants/example group naming
  • Basic nodejs runner support
  • A lot more matchers enabled
  • PhantomJS 2.0 compatibility (also still compatible with 1.9.8). Thanks to @AOst. Closes out #42