I’ve started using the standard recommended xolvio:cucumber and velocity:html-reporter.
I want to test against a fairly big test database. I have a dump of the data created by mongodump, and I usually run a script that does mongorestore to load it into a reset local meteor database.
I can imagine having a hook in cucumber’s this.Before that tells the server to import the .json files by reading the text files, parsing them, etc. by hand. This feels ugly. Is there some clean canonical way to import this data into the mirror database?