You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This could be an IDE feature, but this package will have more knowledge about how to do it, and this way it would be automatically kept up to date.
In package foo, I could run:
pub run test:init src/bar
and it would check if lib/src/bar.dart exists. If not, it will create it, something like:
library foo.src.bar;
// TODO: Library auto-generated by `pub run test:init`.
and would then create a test file for it at test/src/bar_test.dart:
Note: This could be an IDE feature, but this package will have more knowledge about how to do it, and this way it would be automatically kept up to date.
In package
foo
, I could run:pub run test:init src/bar
and it would check if
lib/src/bar.dart
exists. If not, it will create it, something like:and would then create a test file for it at
test/src/bar_test.dart
:The text was updated successfully, but these errors were encountered: