nuxeo / FunkLoad

Functional and load testing framework for web applications, written in Python
http://funkload.nuxeo.org/
GNU General Public License v2.0
382 stars 83 forks source link

Import packages more than one level deep. #140

Open eerwitt opened 9 years ago

eerwitt commented 9 years ago

My load tests are in a sub package under application_name.tests.performance.test_http_unit.

The tests work with the TestRunner executed using fl-run-test application_name.tests.performance.test_http_unit.

When I tried to run a benchmark test an error occurred that the module was not found. I changed the method so it will get the first module in the list of module names and traverse from the top module down to the requested module.

Now I am able to run fl-run-bench application_name.tests.performance.test_http_unit SimpleTestCase.test_index_page.

I could not find a corresponding test for this logic, if there is a test I am happy to update.

Thank you! FunkLoad is extremely useful.

CLAassistant commented 5 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


e3 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.