Open famasf1 opened 3 months ago
Hi @famasf1 ! Currently we assume that all your tests are in integration_test
folder, which is placed in root folder of your project. We made this simplification a while ago, but maybe we should get back to this again. Let's treat this issue as feature request
I want to organized my project and move all the test into different folder. But as of right now, If i run
My expectation is that Patrol will generated a new test_bundle.dart inside
test
folder. Which is the top-most folder inside my given parameter.What will happen instead is Patrol will created a new folder named
integration_test
on the project root folder, along with file namedtest_bundle.dart
and the file will attempted to point the import line to the given parameter-t
path above. which will result in a failed testNo such file or directory
.Looking at --verbose, Apparently this command sort of force running build APK and reference to this specific folder.
flutter build apk --config-only -t integration_test/test_bundle.dart
So i'm wondering if it's possible to specify where
test_bundle.dart
should be generated. For instance, Flutter_Gen package allowoutput
parameter inside pubspec.yaml. Which allowed me to move all the generated asset string reference inside one specific folder upon generation through CLI and never have to worry about it again.Here's full log