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

test + fixture cleanup, some bug fixes #58

Merged
merged 1 commit into from
Feb 26, 2018
Merged

Conversation

edaniszewski
Copy link
Contributor

Review Deadline: whenever

Summary

this PR does a lot of cleanup around tests. it consolidates fixtures which had duplicate definitions all over the place. it standardizes on a test data directory (~/_tmp_test) that is created and cleaned up during testing.

It also fixes a few bugs with some tests and a bug in the code where invalid transaction ids weren't handled correctly. Some of the reason this bug was missed before was because the 'fixture soup' we had made it seem like that case was covered, but it wasn't actually.

with all these changes, I found that unit and integration tests ran slightly faster on my machine. they are both already fast, so the difference doesn't really matter, but still nice all the same.

Related Issues

@edaniszewski edaniszewski changed the base branch from simplify-testing to v2.0-dev February 26, 2018 15:12
@edaniszewski edaniszewski merged commit 1432331 into v2.0-dev Feb 26, 2018
@edaniszewski edaniszewski deleted the test-cleanup branch February 26, 2018 15:12
edaniszewski pushed a commit that referenced this pull request Apr 5, 2018
Some new paths to speed up builds
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