Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests via tape #29

Merged
merged 6 commits into from
Sep 12, 2016
Merged

Run tests via tape #29

merged 6 commits into from
Sep 12, 2016

Conversation

kevinsawicki
Copy link
Contributor

@kevinsawicki kevinsawicki commented Sep 12, 2016

This pull request switches the tests to use tape and adds a few more assertions to verify the zip file exists and is non-empty.

This makes them easier to use with other tools that support tap output.

/cc @malept 👀

@malept
Copy link
Member

malept commented Sep 12, 2016

👍 I was not a fan of the existing testsuite.

If the testsuite were larger, I would suggest having a common function that asserted that error was null, ZIP path exists and the file is not empty.

@kevinsawicki
Copy link
Contributor Author

If the testsuite were larger, I would suggest having a common function that asserted that error was null, ZIP path exists and the file is not empty.

Great point, I think that is in scope to this pull request, even though this library is small it makes sense to me to have a very comprehensive test suite given how important this project is, and adding some helpers now will making adding new tests in the future easier with less copy-pasta.

@kevinsawicki kevinsawicki merged commit b6b4bea into master Sep 12, 2016
@kevinsawicki kevinsawicki deleted the tape branch September 12, 2016 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants