leancodepl / patrol

Flutter-first UI testing framework. Ready for action!
https://patrol.leancode.co
Apache License 2.0
868 stars 127 forks source link

Add support for root integration test (default is still 'integration_test') (fix included) #2251

Closed shovelmn closed 2 months ago

shovelmn commented 2 months ago

Use case

When wanting to structure tests different then having integration_test folder Also fixed issue where suffix with . would break test bundle generation (ex. _text.patrol.dart)

Proposal

Solved here:

https://github.com/shovelmn12/patrol

shovelmn12 commented 2 months ago

Maybe it's best to use https://pub.dev/documentation/path/latest/path/normalize.html to normalize paths... Will solve relative targets

jBorkowska commented 2 months ago

Hi @shovelmn, thank you for the proposal. There is already an issue about it, so I'm closing this one as duplicate of https://github.com/leancodepl/patrol/issues/743

Also if you have an idea of the solution, you're welcome to contribute by creating a PR :)

github-actions[bot] commented 2 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.