This package has been deprecated

Author message:

abandoned

spacejelly

0.1.0 • Public • Published

THIS IS STILL BEING WORKED ON. DO NOT USE YET.

Build Status

Spacejelly

An npm package to run end-to-end tests on your Meteor app. Use in continuous integration environments, such as Travis CI.

This package starts your Meteor app, spawns a Selenium Server (Jar-File is provided), and runs the Nightwatch tests. Then, it finishes using a semantic exit code.

Quickstart

# 1) install
$ npm install spacejelly -g

# 2) create nightwatch tests in your meteor app

# 3) run spacejelly from meteor app
$ spacejelly

Table of Contents

Installation

For current user:

npm install -g spacejelly

For all users:

# The -H is required 
sudo -H npm install -g spacejelly

Project Setup

Configuration

Exit Codes

See here for node exit codes.

Spacejam codes:

  • 0: everything was fine. all tests passed.
  • 21: Tests failed.
  • 22: Spacejelly failed.
  • 23: Spacejelly timed out (increase timeout with -t flag or in config)
  • 24: Meteor failed to start. There is probably an error within your app. Try starting it on its own.
  • 25: Mongo failed (maybe meteor reset may help).
  • 26: Selenium failed.
  • 27: Nightwatch failed.

TIP Run $? in terminal to get the exit code of the previous commmand. You can use this to get the exit code of spacejelly by running it after spacejelly finishes.

See lib/Spacejelly.js for up-to-date list.

Example

An example for a Meteor app with Nightwatch tests is provided in examples/leaderboard. Check out this repository, $ cd examples/leaderboard and run $ spacejelly to see it in action.

Development

Fancy Installation

Get this code, and then do this:

npm link

License

The MIT License (MIT)

Copyright (c) 2014 Dominik Ferber. See LICENSE.

Readme

Keywords

Package Sidebar

Install

npm i spacejelly

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • dferber90