Skip to content
Commits on Feb 13, 2014
  1. Add -c shorthand for --coverage.

    committed Feb 12, 2014
  2. Coverage should not be zero.

    committed Feb 12, 2014
Commits on Feb 12, 2014
  1. Do not list node_modules in the LICENSE.

    Since npm contains license information in package metadata,
    only include detailed information for non-npm software to reduce
    redundant information and to help keep this file up to date.
    committed Feb 11, 2014
  2. Fix npm packaging of coverage.js.

    committed Feb 11, 2014
  3. Fix lint errors.

    committed Feb 11, 2014
  4. Add `--coverage-report` related options.

    - Defaults to summary, but can be set to any Istanbul report option,
      such as lcov, html, json, etc.
    - `--coverage-dir` is where coverage reporter are written. Defaults to
      ./coverage.
    committed Feb 11, 2014
  5. Apply coverageOptions if `--coverage` is set.

    YUI will normally use `--coverage --no-instrument
    --query 'filter=coverage'` options instead of `--coverage` by itself.
    
    When `--coverage` is used, check for the coverageOptions config
    object and apply those settings if found.
    
    This allows for YUI to set defaults for coverage in its .yeti.json,
    allowing developers to run `yeti --coverage` instead of a longer
    command.
    committed Feb 11, 2014
Commits on Feb 11, 2014
  1. Add `--no-instrument` option.

    Useful when you've already instrumented code with Istanbul.
    
    Use with the `--coverage` option.
    
    For YUI, we plan to use `--no-instrument --query 'filter=coverage'`
    to only collect coverage data for files loaded with that filter.
    committed Feb 11, 2014
  2. Instrument JavaScript files and collect coverage.

    - No exclude list, all JS files are instrumented.
    - Remove collection of YUI Code Coverage data.
    - Display of coverage data is broken because it expects YUI data.
    committed Feb 11, 2014
  3. Reporters emit and bind their own events.

    - Reporters are now EventEmitters that fire end
      instead of calling `this.cli.exit`.
    - Move exitFn logic from Console back to CLI.
    - CLI uses `end` events from Reporters to call its exitFn.
    - Event binding occurs in Reporter's bindEvents instead of
      inside cli.js.
    - Reporters get access to options object for reading
      configuration -- such as a directory for writing output.
    
    Prepare the way for reporters to write to files in a directory.
    committed Feb 10, 2014
Commits on Feb 8, 2014
  1. 0.2.26

    committed Feb 7, 2014
  2. Update package metadata. Add SPDX license.

    Change version from 0.2.26-pre to 0.2.25.
    We will be using `npm version` to bump versions from now on.
    The `-pre` suffix will be retired.
    committed Feb 7, 2014
  3. Fix light sub-heading on landing page.

    The correct weight was not being pulled in. Only Safari tried rendering
    at the weight of 100. A heavier 300 looks better and across browsers.
    
    Remove unused Prettify CSS from the landing page.
    committed Feb 7, 2014
Commits on Feb 7, 2014
  1. Use GitHub Releases in favor of HISTORY.md.

    Future release notes will be provided at
    https://github.com/yui/yeti/releases
    committed Feb 7, 2014
  2. Generate Selleck project file from package.json.

    No longer mirror package.json's version in two places.
    committed Feb 7, 2014
Commits on Feb 6, 2014
  1. Add missing err argument to getPathname callbacks.

    The callback for `page.evaluate` should expect an error argument
    followed by the result. Our callbacks were expecting the result only.
    
    This means our assertions were checking that null === null instead of
    checking if pathnames matched. Both assertions pass, but the latter
    is more useful for finding bugs. :)
    committed Feb 6, 2014
  2. Use onUrlChanged to detect page navigation.

     - http://phantomjs.org/api/webpage/handler/on-url-changed.html
     - Increase PhantomJS min version to 1.6.0.
     - Replaces polling triggered by onLoadStarted.
    committed Feb 6, 2014
Commits on Feb 5, 2014
  1. Fix JSHint errors.

    committed Feb 5, 2014
  2. Avoid calling rl.write when rl is not a terminal.

    The rl.write does not appear to work when rl is not a terminal.
    Workaround by writing to stdout without going through rl.
    committed Feb 5, 2014
  3. Prevent double line update after each test.

    updateFeedbackLine is called by handleAgentResult and by the
    agentProgress event binding, resulting in a double update for
    every test ran. Fix by removing the update in handleAgentResult.
    
    This will cause coverage statistics to appear one test behind
    but the final update in handleComplete will show the final stats.
    
    Side effect: Fix spinner jitter.
    committed Feb 5, 2014
  4. Do not print lines on beat if output isn't a TTY.

    Instead, print lines only on results.
    committed Feb 5, 2014
  5. When JUnit requested, show status on stderr.

    Reuses the FeedbackLineReporter, so it's a bit chatty right now.
    committed Feb 4, 2014
Something went wrong with that request. Please try again.