-
Notifications
You must be signed in to change notification settings - Fork 106
Acceptance tests
possibilities edited this page Jul 6, 2012
·
4 revisions
- 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.
- Should uninstall everything
-
Should install everything the app will need to run
-
Should run app
-
Should create a project
-
Should have a default smart.json
-
Should install everything the app will need to run
- Should install everything the app will need to run
Hard to test anything else because we don't want to hit the network
Should add package to .meteor/.packages
Should remove package from .meteor/.packages
Should list a bunch of packages
Should create a tar.gz Possibly check that the specified smart packages are included Possibly check that the bundle runs
Should give us a usable console
Hard to test because we don't want to hit the network
Make sure things really get reset
Make sure update gets run