Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 26, 2012
  1. @domenic

    Remove CommonJS testing scaffold.

    domenic authored
    Fixes #79.
Commits on May 18, 2012
  1. @domenic

    Adding code coverage for both specs and tests, in Node.

    domenic authored
    Uses itay/node-cover. Run with:
    
        npm run-script test-cover
        npm run-script spec-cover
    
    Both will generate cover_html folders with an index.html containing the coverage report. There unfortunately doesn't seem to be a cross-platform way of automatically launching that index.html in your default browser [1].
    
    This reveals a few missing spots, in addition to large swathes of untested-but-that's-OK code (like shims and long stack trace code).
    
    Ideally we would be able to run this in different browser environments (e.g. to make sure the shims are covered), but that would require a decent bit more work, I believe.
    
    NB some small additions were necessary to make the Jasmine specs run in Node.
    
    [1]: http://superuser.com/questions/38984/linux-equivalent-command-for-open-command-on-mac-windows
Something went wrong with that request. Please try again.