/meteor-gagarin-example-the-simplest-one

Attempt to test how to test meteor app with gagarin.

Primary LanguageJavaScript

Installation

npm install gagarin -g

Run

1 Launch app

meteor

2 Test app

gagarin -t 3000


    ➜  gagarin-example-the-simplest-one git:(master) ✗ gagarin -t 3000

      --- building app => /Users/me/projects/gagarin/gagarin-example-the-simplest-one ---


      done building ...



      Example test suite
        ✓ execute should work


      1 passing (2s)

Caveats

Too short timeout

    ➜  gagarin-example-the-simplest-one git:(master) ✗ gagarin

      --- building app => /Users/me/projects/gagarin/gagarin-example-the-simplest-one ---


      done building ...


      Example test suite
        1) "before all" hook


      0 passing (2s)
      1 failing

      1) Example test suite "before all" hook:
         Error: timeout of 2000ms exceeded
        at [object Object].<anonymous> (/Users/me/.nvm/v0.11.14/lib/node_modules/gagarin/node_modules/mocha/lib/runnable.js:158:19)
        at Timer.listOnTimeout (timers.js:133:15)