Skip to content

Acceptance tests

possibilities edited this page Jul 6, 2012 · 4 revisions

Acceptance Tests

Focused Tests

Install

  • Just make sure we see some output that indicates installation took place

All real install tests are done on run because install is just a subset of run but run gives us simpler ways of verifying behavior.

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