Closed boennemann closed 10 years ago
If I understand your question correctly, the answer is yet. Checkout the branch you want to test again, npm link it and run your tests against it.
We use npm link
in these tests https://github.com/hoodiehq/hoodie-plugin-template/blob/master/Gruntfile.js#L91
@svnlto Just FYI I had to change the command slighty: https://github.com/hoodiehq/grunt-release-hoodie/commit/cd8e088240ab82270806379062a8c8f4399bd937
looking good, thanks for the heads up.
In it's current state integration tests only run against the latest published version, which is kind of pointless.
If I correctly understand what
npm link
does, wouldn't it make sense to link the currently tested repository, so that the integration tests test actual changes?@svnlto Did I miss something? Could you please elaborate on that, so I can implement this.