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

Diesel CLI's tests leave files laying around if tests fail #222

Closed
sgrif opened this Issue Feb 19, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@sgrif
Member

sgrif commented Feb 19, 2016

I'm working on some test failures that are occuring on Windows for Diesel CLI, and noticed that the tests in the database module aren't structured properly. They rely on calling a teardown function at the end, but that function is never called if the tests fail. These tests need to operate inside of a tempdir instead so that cleanup happens automatically. /cc @mcasper

@mcasper

This comment has been minimized.

Collaborator

mcasper commented Feb 19, 2016

The tests that do that are probably obsolete now, or could be replaced by integration tests. I'll take a look tonight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment