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

Using test plans for iOS test execution on Firebase #2346

Open
braindonor opened this issue Mar 7, 2023 · 1 comment
Open

Using test plans for iOS test execution on Firebase #2346

braindonor opened this issue Mar 7, 2023 · 1 comment

Comments

@braindonor
Copy link

I'm struggling to configure Flank to execute just the tests in my selected test plan. Local test execution is fine, but when I execute my tests on Firebase using Flank, all the tests in my project are executed. The "OnlyTestIdentifiers" section in my xctestrun file contains the tests selected in my test plan, but this appears to be ignored in my test execution.

Any pointers to how I can debug the cause would be appreciated. I have made some attempts to debug, but I'm not an expert with Kotlin, and don't fully understand the flow through the code. It seems that NSDictionary.setOnlyTestIdentifiers overwriting the full list of tests. I guess there could be some issue on the Firebase side too.

I'm using the latest Flank, and Xcode 14.2.

@braindonor
Copy link
Author

I think I've worked out what's going on now. The plan filter is working for SkipTestIdentifiers, but only when the class and method are specified in the xctestrun skip list. Some of my entries have class only.

The OnlyTestIdentifiers option isn't working at all for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant