Failed test doesn't show line number in my code #1615
-
Hi Patrol and all others, Thank you for always taking your time to answer my newbie questions :-) I was wondering if my error messages on my tests are normal or not. In below case, my test failed in a "pumpAndSettle" step, but if I have multiple of those on my test, I'll have to run the test locally and hope for the same error locally as in my CI environment. Did I miss something during setup? Error message: java.lang.AssertionError: Dart test failed: critical_workflows.photoDoc.0003_Create_full_2_of_each_doc_test ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════ When the exception was thrown, this was the stack: The test description was: at pl.leancode.patrol.PatrolJUnitRunner.runDartTest(PatrolJUnitRunner.java:130) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@bartekpacia sorry to tag you directly in this old message you have nothing to do with. You answered some of my other questions, so maybe I'm lucky you can help me with this as well? :) |
Beta Was this translation helpful? Give feedback.
I think you're hitting this Dart bug: dart-lang/sdk#46318
There's no good workaround, best you can do is sprinkle some
print()
s and see inadb logcat
where it gets stuck.