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

Make tests independent #96

Merged
merged 3 commits into from Jan 22, 2018
Merged

Conversation

n1ru4l
Copy link
Collaborator

@n1ru4l n1ru4l commented Jan 19, 2018

Currently the tests affect each other.
IMHO a test should be self contained.
Since the tests take some time, it can be really painful to debug a single test when they all affect each other.

@leontastic Are you okay with me using the promise instead of the callback api of the aws-sdk?

TODO

  • Fix failing tests

@n1ru4l n1ru4l changed the title tests: Fix some failing tests tests: Make tests independent Jan 19, 2018
@n1ru4l n1ru4l changed the title tests: Make tests independent Make tests independent Jan 19, 2018
@leontastic
Copy link
Collaborator

👍 100% agree about isolating tests given how large the test suite is.

I'd love to see all callbacks converted into promises, in the tests and source code.

@n1ru4l
Copy link
Collaborator Author

n1ru4l commented Jan 21, 2018

@leontastic Lets merge this and do the test cleanup in a followup pull request

@n1ru4l n1ru4l merged commit 0c2a312 into jamhall:master Jan 22, 2018
@n1ru4l n1ru4l deleted the make-tests-independent branch January 22, 2018 10:01
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.

None yet

2 participants