Skip to content

Acceptance tests

Mike Bannister edited this page Jul 1, 2012 · 4 revisions

Acceptance Tests

Focused Tests

Install

  • Should install smart packages as specified

  • Should install Meteor as specified

Uninstall

  • Should uninstall everything

Run

  • Should install everything the app will need to run

  • Should run app

Create

  • Should create a project

  • Should have a default smart.json

  • Should install everything the app will need to run

Deploy

  • Should install everything the app will need to run

Hard to test anything else because we don't want to hit the network

Sanity Check Tests

Add

Should add package to .meteor/.packages

Remove

Should remove package from .meteor/.packages

List

Should list a bunch of packages

Bundle

Should create a tar.gz Possibly check that the specified smart packages are included Possibly check that the bundle runs

Mongo

Should give us a usable console

Logs

Hard to test because we don't want to hit the network

Reset

Make sure things really get reset

Update

Make sure update gets run

Clone this wiki locally