I come from the Rails world where it is extremely easy to get up and running with minitest or rspec. Now that I mostly work with Meteor, I find it very difficult and annoying to test apps. I’ve been using cucumber and jasmine with velocity and have tried following the Meteor Testing book but I seem to run into error after error and sometimes my tests pass and sometimes they don’t. I literally will refresh the browser and the tests that were passing will suddenly fail and then refreshing the browser will cause them to pass again… It’s quite ridiculous.
I’m working on an app right now that is starting to get to a point at which it is no longer feasible to manually test features and I really need to get a test suite setup. However, I keep trying to write Jasmine and Cucumber tests and they seem very inefficient and buggy. In addition, I’m not sure I like having my tests run while the app is running. It seems to slow things down. I much prefer the Rails/command line form of testing.
Does anyone have any suggestions for how I can get a test suite set up in an efficient manner? I’m starting to get really frustrated and its making me almost want to go back to working with Rails even if I don’t get the real-time goodness that comes out of the box with Meteor.