Migrating from xolvio:cucumber
Chimp has first class support for Meteor so let's get you on it.
The Meteor Cucumber (xolvio:cucumber) package is no longer supported and has been deprecated in favor of the more flexible Chimp.
The good news is that your specs are backwards compatible almost out of the box! Here's what you need to know:
You need to start your Meteor app yourself
Velocity handled the starting and stopping of Meteor apps for you. Chimp does not do this automatically for you so you need to start your Meteor app yourself. Once your Meteor app is started, you can then start Chimp in watch mode like this:
chimp --watch --ddp=http://localhost:3000
Now Chimp will rerun anytime your app restarts or if you change the test source files.
IS_MIRROR
is no longer set
IS_MIRROR
is no longer setVelocity had the concept of mirrors and you were able to check if you were inside a mirror by the IS_MIRROR
flag. This is no longer set for you. If you rely on it, you can always start your Meteor app using IS_MIRROR=1 meteor
Fixtures inside /tests/cucumber/fixtures
no longer work
/tests/cucumber/fixtures
no longer workWhen using Meteor Cucumber, you were able to create files under /tests/cucumber/fixtures
and these files would be copied into the mirror. Since Chimp does not have the concept of a mirror, you will need to move any fixtures into a package in your Meteor app. This is where you can employ the fixture package pattern.
Updated less than a minute ago