Jasmine core 1.1 update

4 views
Skip to first unread message

Davis Frank

unread,
Jun 9, 2011, 1:09:39 AM6/9/11
to jasmine...@googlegroups.com
(sorry for the early Send before)

I've been tweaking/refactoring the TrivialConsoleReporter as part of the 1.1 work to incorporate Steve's Node Suite & work. So far so good.

I discovered that the original Console Reporter work was returning the incorrect number of specs (due to the mocking strategy in the tests), it was not running all of the non-DOM related tests, and that the browser specs were also missing specs. But I've fixed it all now on master.

What you'll see:
  • spec/ and src/ directories are now consistent with core/, console/ and html/ dirs
  • all the specs that can be run in each environment are run (we were missing specs on each side)
  • while some of the core code does use document.createElement, the specs for that code (in Matchers.js and PrettyPrint.js) have been broken out into specs in html/ that only get run in the browser specs
  • The specs count is now *very* close between the two sets of specs
What's next:


This is a bunch of clean-up, but will make it much easier to move forward, easier to process pull requests, and be more targeted in refactorings & features.

--dwf


Reply all
Reply to author
Forward
0 new messages