-
Notifications
You must be signed in to change notification settings - Fork 184
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
Refactor run_suite_class #950
Labels
Comments
Hi Jakub,
Here are my console logs and code for your reference, you can see that
|
Thank you! I will wait for the fix for --list_tests and recheck, I have it tied together to the tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are two issues with this function:
it doesn't support --list_tests - it's currently broken
it doesn't work as proposed here:
Create a subclass of base_suite.BaseSuite and add the individual test
classes. Using the BaseSuite class allows users to define their own setup
and teardown steps on the suite level as well as custom config for each test
class.
.. code-block:: python
from mobly import base_suite
from mobly import suite_runner
from my.path import MyFooTest
from my.path import MyBarTest
class MySuite(base_suite.BaseSuite):
if name == 'main':
suite_runner.run_suite_class()
Which would be great if it worked as currently I see no other option to setup test suite with skipping some tests. I would like to use it such that I would be able to skip some predefined tests as in : self.add_test_class(MyBarTest, tests=['test_a', 'test_b'])
Let me know if there is other option for doing that, thank you !
The text was updated successfully, but these errors were encountered: