xolvio / qualityfaster

An example project showing how to create robust and maintainable acceptance tests
262 stars 58 forks source link

Documentation for running Wallaby with my Meteor project #28

Open jonmc12 opened 8 years ago

jonmc12 commented 8 years ago

I have an existing Meteor project, using angular on client. It would be nice to use Wallaby when I'm running Chimp in the background.

I thought I might be able to replace src with a symlink to my own project, and include the appropriate file patterns in wallaby_client.js and wallaby_server.js, but haven't had cycles for a full test yet so I figured I'd ask if there are any tips to get started.

Is this kind of setup intended to work in current state? Is any documentation planned to be able to configure Wallaby w/ Chimp and an arbitrary Meteor project?

ghost commented 8 years ago

I'm going to update the Wallaby configs for Meteor 1.3 when it has been released. The configs work for Meteor apps that only use ES2015 modules.

It should be possible to make it work with apps that use the Meteor loading order conventions by creating file patterns that mimic those conventions. A contribution to provide this is welcomed.

Also there was a Wallaby bug that caused a "Max stack exceeded" error, that should now be fixed in the latest Wallaby version.