I think he wants to execute a single or subset of test case inside a test_WEB2PY_MODULE_NAME. I don't think this is possible, but as Simone details you can run onlye the tests for a given web2py component (python file in gluon) at a time.
Richard On Wed, Dec 14, 2016 at 2:28 PM, Niphlod <niph...@gmail.com> wrote: > - if you cloned from github without reading the main page .... I wonder > what "documentation" needs to be more explicit. > - you can single tests with run python -m unittest gluon.tests.whatever > > > On Monday, December 12, 2016 at 12:20:26 AM UTC+1, Marlysson Silva wrote: >> >> Guys , good night . >> >> I made a clone of repository of web2py to add some codes and i had some >> issues.. >> >> 1. Need clone a submodule join with web2py's main repository ( ok isn't a >> issue , just isn't explicit a lot in documentation ); >> >> 2. I added my code improvement code and ran the tests with command : >> python web2py.py --run_system_tests >> >> This case ran all tests from system.. There some way to execute >> individual test by file? E.g: >> python -m unittest test_utils.py >> python test_utils.py >> >> 3. And at end of all tests yet exists errors: >> >> Ran 311 tests in 189.749s >> >> FAILED (failures=1, errors=4, skipped=1) >> >> >> Some errors of encoding and index out of range.. >> >> It my machine or the tests are wrong same.. >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.