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

Using the same function names in different test packages causes debug() output duplication #176

Closed
chapmandu opened this issue Jun 26, 2013 · 2 comments
Labels

Comments

@chapmandu
Copy link
Member

@chapmandu chapmandu commented Jun 26, 2013

Edge case!

  • create 2 tests in different packages with the same name. eg: name="test_something"
  • in those 2 tests, create a variable with the same names. eg: loc.response
  • use the debug function in one of the tests to display loc.response

The "loc.response" debug will be displayed in both tests.

Workaround: Ensure test names are unique across all packages

UPDATE:
running this package via URL "package=controllers.AdministratorsTest"

Will run any nested package called "AdministratorsTest" underneath "controllers" folder.

Eg:

controllers.AdministratorsTest
controllers.security.AdministratorsTest
controllers.subdomains.AdministratorsTest

@perdjurner

This comment has been minimized.

Copy link
Contributor

@perdjurner perdjurner commented Jul 14, 2014

Closing this since we're not planning on releasing 1.2 from the "new-master" branch any more. Please reopen if this issue finds its way in to the "master" branch or future releases though.

Thank you.

@perdjurner perdjurner closed this Jul 14, 2014
@perdjurner perdjurner reopened this Aug 10, 2015
@perdjurner perdjurner added this to the 1.5 milestone Aug 10, 2015
@perdjurner perdjurner removed this from the 1.5 milestone Aug 20, 2015
@neokoenig

This comment has been minimized.

Copy link
Member

@neokoenig neokoenig commented Feb 2, 2018

Is this still an issue in 2.x? I've not hit it myself.

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.