olexale / bdd_widget_test

A BDD-style widget testing library
MIT License
101 stars 30 forks source link

Is it possible to use your solution with golden_toolkit ? #8

Closed BondarenkoArtur closed 3 years ago

BondarenkoArtur commented 3 years ago

Your widget testing library is really cool one and I'm thinking about using it for comparing with screenshots.

I'm curious is it possible to use it for cases when golden_toolkit is installed and when instead of testWidgets, testGoldens should be used?

olexale commented 3 years ago

Currently, testWidgets string is hardcoded in the plugin, but I think it makes sense to add a parameter that will tell the plugin whether it needs to generate a widget test, a flutter driver test, or a golden test.

olexale commented 3 years ago

quick update: this should be possible with version 0.7.1, but I didn't have time to write documentation yet. I plan to finish this next week.

olexale commented 3 years ago

I've updated the README file with some guidelines and published a video with some live demo. I think we may close this issue now 🙂