<p dir="auto">Some gaps here:</p>
<ul dir="auto">
<li><code class="notranslate">flutter create -t plugin</code> does not produce any test files.</li>
<li><a href="https://flutter.io/platform-channels/" rel="nofollow">https://flutter.io/platform-channels/</a> does not mention testing.</li>
</ul>
<p dir="auto">Actions items:</p>
<ul dir="auto">
<li>Write a best practices doc for testing plugins. Mention both Dart and native code. Publicize the mock channel implementation (I personally learned about this by reading code in flutter/plugins).</li>
<li>Add test files to the template.</li>
</ul>
<p dir="auto">Currently our plugin template and plugin docs have no recommendation for how to test a plugin. We should probably figure out what to do here.</p>