open_file
open_file copied to clipboard
open_file/open_file/test /open_file_test.dart fails
Was trying to figure out how to mock OpenFile.open but the test example fails. Seems to be related to issue #180.
Flutter 3.29.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision ea121f8859 (3 weeks ago) • 2025-04-11 19:10:07 +0000 Engine • revision cf56914b32 Tools • Dart 3.7.2 • DevTools 2.42.3
You can use the mock testing framework (such as mockito) for testing. bfa5065983867cc24d9678b7794a965040a65241