-
Notifications
You must be signed in to change notification settings - Fork 150
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
Bring back test suites #1501
Comments
Scope: most of the stuff from #1341 In particular:
|
size: L |
Starting scopeI'd do iOS first, because I'm more uncertain what we want to do is possible there. iOS:
Android:
Possible problems - iOS
Resources I've found:
|
iOS - going furtherI managed to start the app under test (using Next steps:
|
A different approachI just had a great talk with @zltnDC and he suggested a fresh approach to the test suites problem.
Why?Recreating Dart test hierarchy natively is hard And maybe even impossible (the research above isn't done). See SO question I asked. Let's just not do it. Patrol's user doesn't care about how the tests are executed – if they're "flat", or if they're natively grouped. What they do care about is the test report. So let's just give them the test report. Exampe test hierarchy: Details
Below is how the report looks like currently (copied from #1341). Let's call it "raw report":
but we'd like in to look like this (let's call it "enhanced report"):
Good news is that the "raw report" contains all information needed to create an "enhanced report" out of it. We could provide a command like
We still have to allow for
|
[@bartekpacia here - I'm editing this message sometimes to keep it updated]
group()
s and multipletest()
s #1619patrol develop
starts allgroup()
s andtest()
s in a file, doesn't allow for more granular selection #1713.xcresult
don't allow for hierarchy recreation #1714setUp
,tearDown
(done in Add support for basic test lifecycle callbacks #1721)addTearDown
setUpAll
(done in Add support for advanced test lifecycle callbacks -setUpAll
#1751)tearDownAll
The text was updated successfully, but these errors were encountered: