Member-only story
Missing Flutter Best Practice, The Page Object Model Test Pattern
Would be nice if this test best practice called POM was in the Flutter Skeleton Template, since the template is supposed to showcase Flutter best practices. But it’s not in the template and no it is not in the flutter docs either.
In this article, I am going to show why the Page Object Model test pattern should be in your Flutter Best Practices toolbox and how to use eBay’s Page Object plugin to implement it. The sample code can be found in the gtdd_four subfolder of the gtdd folder in this repo:
It’s named GTDD as in Goldens Test Driven Development as all my test suites, except for plain object unit tests, is a goldens test suite.
Get Access To My Free Stuff
My free Flutter Code And Design Assets can be found at: