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

When asserting query execution against an external file, existence of the external file should be validated after setup tasks have run #136

Closed
janvanhumbeek opened this issue Nov 10, 2015 · 2 comments
Assignees
Milestone

Comments

@janvanhumbeek
Copy link
Contributor

For some of my tests I am creating the expected resultset, to validate query execution results against, in my setup tasks.
When I start my tests a first time (when the external resultset-file is still non-existent), NBi throws an ExternalDependencyNotFoundException on the file that would be created through the setup.

NBi.NUnit.Runtime.TestSuite.<testname>:
NBi.Core.ExternalDependencyNotFoundException: This test is in error because the following dependency has not been found '<full path to external resultset file>'.

Can the order be changed so that the file's existence is only checked after setup tasks have run?

@Seddryck Seddryck added this to the 1.12 milestone Nov 10, 2015
@Seddryck Seddryck self-assigned this Nov 10, 2015
@Seddryck
Copy link
Owner

The easiest work-around is probably to have an empty file and overwrite itin the steup. I'm working on fixing this bug.

@Seddryck
Copy link
Owner

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

No branches or pull requests

2 participants