Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 0.2.2-2
Commits on Sep 25, 2012
Commits on Sep 7, 2012
  1. Bump version.

    authored
  2. Add '--console' flag to display messages from web pages.

    authored
    This flag redirects console messages from web pages to the terminal so
    they are shown while running the tests.
    
    The default value for the new flag is 'off' to keep existing tests
    working without any output changes.
  3. Capture page exceptions and print using new 'console' object.

    authored
    This commit captures unhandled exceptions on a page level and prints out
    the message and stack trace using the custom 'console' object.
  4. Use existing 'console' overrides from PhantomJS as well.

    authored
    This commit swaps the built-in 'console' object with the one defined in
    'lib/console.js'. The custom object sets up proper styles for errors and
    warnings.
  5. Warn when files were not found or matched include/exclude patterns, c…

    authored
    …loses #5.
    
    Bump version as well, w00t!
  6. Bump version.

    authored
  7. Drop 'findit' and use 'walkdir', support Windows.

    authored
    This commit drops 'findit' as it has issues running on Windows, see https://github.com/substack/node-
    findit/issues/5
    
    'walkdir' works around this issue by not using the inode value of a file
    if it's not supplied by Node.js.
  8. Bump dependencies versions in package.json and address deprecations.

    authored
    This commit tracks the latest versions of dependencies listed in
    package.json. As a result of the upgrade, the Express server in
    test/server.js had to be updated as well.
  9. "path.exists is now called `fs.exists`." OK, got it.

    authored
    This commit bumps the required Node.js version to >=0.8. As a result, we
    need to take care of some deprecation warnings such as the one listed in
    the subject of this commit.
  10. Add (verified) support for PhantomJS 1.6.x.

    authored
    All available tests run under that version.
  11. Emit 'compile' to allow hooks to modify the code before it's compiled.

    authored
    This commit allows a hook to modify the contents of the file being
    compiled. That can be used to process directives, such as custom
    require's, etc.
Commits on Apr 25, 2012
  1. Bump version number and fix package.json for naughty NPM.

    authored
    There is still an open bug at:
    npm/npm#1978
    
    This commit is a workaround, but doesn't fix the issue which still exists
    in NPM.
  2. Add (verified) support for PhantomJS 1.4.x and 1.5.x.

    authored
    All available tests run under these versions.
Commits on Dec 13, 2011
  1. Use module 'tmp' instead of 'temp'.

    authored
    'temp' seems to be incompatible with Node.js 0.6.x as it still relies
    on the 'sys' module.
    
    'tmp' on the other hand seems to have been updated recently and have
    better version history on http://search.npmjs.org/#/tmp
Commits on Dec 12, 2011
  1. @grayt0r
Commits on Dec 10, 2011
  1. Allow Lottefile to be written in CoffeeScript.

    authored
    Supported Lottefile languages are now: JavaScript, CoffeeScript.
  2. Add experimental start/before/after/exit events.

    authored
    All events are asynchronous and they must have a valid signature.
    Once an event/message is processed, the continuation block must be called
    for Lotte to resume.
    
    - 'start'  function(options,    resume) { resume(); }
    - 'before' function(file,       resume) { reusme(); }
    - 'after'  function(file, code, resume) { resume(); }
    - 'exit'   function(code,       resume) { resume(); }
    
    where:
    
    - 'options' is an array derived from the command-line or a Lottefile
    - 'file' is a test file (absolute path)
    - 'code' is the exit code either of the test file or the entire suite
  3. Don't duplicate default values, trust the defaults or the command line.

    authored
    The default values are already supplied to Optimist. If something goes wrong,
    complain about it rather than reverting to the safe defaults.
  4. {notify => message}

    authored
  5. Add support for client -> server notifications and message passing.

    authored
    Using @notify(event, ...args, resume) tests can talk to Node.js on the
    server-side. Data can be exchanged as long as it is serialisable.
    
    See test_notify.coffee / Lottefile for an example.
  6. Whoops, collect garbage properly.

    authored
    The previous code was off-by-one causing Lotte to hang in certain situations.
  7. Add a dummy HTTP server.

    authored
    This server will be used for IPC with PhantomJS. Events, such as test
    case start, pass, fail, etc. will be communicated over HTTP (not yet
    implemented).
    
    The server is enabled by default, but can be disabled either using
    '--no-server' on the command line or 'server = false' in a Lottefile.
    
    The default listening port is 3838 which should be unprivileged.
    The default bind address is localhost, 127.0.0.1.
Something went wrong with that request. Please try again.