Skip to content
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

Names of tests in .xcresult don't allow for hierarchy recreation #1714

Open
Tracked by #1501
bartekpacia opened this issue Sep 19, 2023 · 0 comments
Open
Tracked by #1501

Names of tests in .xcresult don't allow for hierarchy recreation #1714

bartekpacia opened this issue Sep 19, 2023 · 0 comments
Labels
feature New feature request package: patrol Related to the patrol package (native automation, test bundling) platform: ios iOS is affected

Comments

@bartekpacia
Copy link
Contributor

test file structure:

void main() {
  patrol('at the beginning', ($) async {});

  group('top level group in file', () {
    group('alpha', () {
      patrol('first', ($) async {});
      patrol('second', ($) async {});
    });

    patrol('in the middle', ($) async {});

    group('bravo', () {
      patrol('first', ($) async {});
      patrol('second', ($) async {});
    });
  });
}

xcresult:

Screenshot 2023-09-19 at 9 30 57 AM

We need to delimit group&test names with e.g. _ (and forbid users from using _ in their test names because that'd mess up decoding).

@bartekpacia bartekpacia added feature New feature request package: patrol Related to the patrol package (native automation, test bundling) platform: ios iOS is affected labels Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request package: patrol Related to the patrol package (native automation, test bundling) platform: ios iOS is affected
Projects
None yet
Development

No branches or pull requests

1 participant