Open elliette opened 2 years ago
After talking with @elliette, it doesn't seem like we've made any progress on this issue. We should consider whether or not we actually want to use package:mockito
since it involves a lot of code generation steps since Dart 3.0.
Background context:
Currently the majority of tests in DWDS are integration tests using
chromedriver
. We have a few unit tests as well, some of which implement their own fakes (eg, inmetadata_test.dart
), others of which use the fakes fromfakes.dart
.Suggested improvements:
fakes.dart
to mocks generated bypackage:mockito
fakes.dart
so that they can easily be found