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

display clear error message in tests if test or fixture has incorrect namespace #8680

Closed
diosmosis opened this Issue Sep 1, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@diosmosis
Member

diosmosis commented Sep 1, 2015

When a test has an incorrect namespace, TestingEnvironmentManipulator will not be able to find it when setting up the test environment for child processes. This results in subtle, hard to debug errors.

Somewhere, there should be a clear message saying the class is in a namespace that cannot be found through the autoloader.

@diosmosis diosmosis added this to the 2.15.0 milestone Sep 1, 2015

@diosmosis diosmosis self-assigned this Sep 9, 2015

@diosmosis diosmosis closed this in #8745 Sep 14, 2015

diosmosis added a commit that referenced this issue Sep 14, 2015

Merge pull request #8745 from piwik/8680
Fixes #8680, if a test case or fixture class is supplied in TestingEnvironmentManipulator and cannot be autoloaded, throw an exception.

@mattab mattab added the c: Platform label Oct 13, 2015

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