Unit testing Widget code

Though I moved most of the code to a framework to be able to unit test, still the timelineProvider code is not able to unit test, mainly because Context can't even be created.

Please let me know the best practice for unit testing widgets code. Thanks!

Any news on this?

Unit testing Widget code
 
 
Q