widget_test_harness 0.8.0 copy "widget_test_harness: ^0.8.0" to clipboard
widget_test_harness: ^0.8.0 copied to clipboard

Create a reusable harness for testing. Use Mixins to combine functionality to keep testing dependencies dry

0.1.0+1 #

  • feat: initial commit 🎉

0.1.0+2 #

  • updated formatting and fixes for pub scoring

0.2.0 #

  • fixed some documentation
  • Added http client in widget harness to mock NetworkImage

0.3.0 #

  • added more documentation
  • Updated how httpClient is created
  • Updated how zones are handled

0.4.0 #

  • updated harness creation

0.4.1 #

  • fixed then functions calling themselves
  • added fling to when

0.4.2 #

  • add mixins
  • updated reference to when in given

0.4.3 #

  • reverted change

0.4.4 #

  • Added parent class to given,when,then
  • widgetTester now is added via new mechanism

0.5.0 #

  • Added documentation
  • Updated return types to make harness protected from being called directly
  • Added better checking in harness to verify that things are setup correctly

0.5.1 #

  • Added documentation
  • Added then methods

0.6.0 #

  • Updated to using dart 3 features

0.7.0 #

  • Renamed dispose to teardown
  • Made teardown a Future

0.7.1 #

  • Fixed not cleaning up when exception is thrown in test

0.7.2 #

  • Updated how exception is handled

0.7.3 #

  • Updated to allow passing reason through provided then methods

0.7.4 #

  • Added abstraction to allow mixins to support unit tests and widget tests
  • Made methods in harnesses protected.

0.7.5 #

  • Reverted protected change.

0.8.0 #

  • Update to support flutter 3.29
1
likes
150
points
60
downloads

Publisher

unverified uploader

Weekly Downloads

Create a reusable harness for testing. Use Mixins to combine functionality to keep testing dependencies dry

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_test

More

Packages that depend on widget_test_harness