conventional-changelog / releaser-tools

Create a GitHub/GitLab/etc. release using a project's commit messages and metadata.
MIT License
388 stars 34 forks source link

Offline Unit and Integration Tests #17

Open hutson opened 8 years ago

hutson commented 8 years ago

I apologize for spamming #14

So I believe my issue was a result of the unit tests operating under the assumption that I have access to a repository called stevemaotest/conventional-github-releaser-test.

It's actually impossible to verify any changes I make locally.

Therefore I wanted to propose extending the testing suite with offline unit and integration tests.

For unit testing we could use something like proxyquire, and for integration tests we could use nock.

stevemao commented 8 years ago

I haven't used those two modules but if you come up with something go for it 😄

stevemao commented 8 years ago

@hbetts Why is this closed?

hutson commented 8 years ago

@stevemao I closed it as I'm unlikely to have the time to develop an offline unit test setup for the conventional-*-releaser projects.

If you would prefer that this issue be kept open in case someone else is able or willing to take on the task, I can re-open the issue.