releaser-tools icon indicating copy to clipboard operation
releaser-tools copied to clipboard

Offline Unit and Integration Tests

Open hutson opened this issue 8 years ago • 3 comments

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.

hutson avatar May 21 '16 04:05 hutson

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

stevemao avatar May 21 '16 04:05 stevemao

@hbetts Why is this closed?

stevemao avatar Jul 06 '16 04:07 stevemao

@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.

hutson avatar Jul 14 '16 02:07 hutson