android / android/android-test
Run tests by classes with clearing data only between individual classes
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Description
### Description
I am trying to use Orchestrator to run my tests that are structured in separated classes each with multiple tests. I used to run tests by classes manually with data clear after each class. Currently, I have too many classes and I want to automize it. I found that Orchestrator runs isolated tests by default which is not appropriate for my usage because of the structure of my app. I discovered, that it is possible to turn off isolated tests run, but in that case, it runs all tests from all classes, without clear between classes.
Is there any possible solution to run it strictly by classes with clear between them?
Thank you for answer.
Contributor guide
Research direction
Start by reproducing the reported behavior with Android Test Orchestrator: compare isolated test execution with isolation disabled across multiple test classes. Determine whether class-level execution with data clearing between classes is supported, and define the expected ordering and clearing behavior before identifying the relevant Orchestrator entry point or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100