ct_test_helpers

These are extension functions, to help us write more concise tests.

TestExtensionsOnWidget - Extensions on Widget

These are extensions on Widget class which we need to do common widget modifications. We have:

  • wrapWithMaterialApp

TestExtensionsOnWidgetTester - Extensions on WidgetTester

We attempted to make our experience better by implementing extension functions on WidgetTester. We have:

  • setDeviceSize(Size)

Contribution

  • We are accepting more ideas in form of issues in our github repository
  • Pull requests are welcome as well

Libraries

ct_test_helpers