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
Since main goal of this tool is providing a way to create tests that could be used as documentation with minimal efforts from developers and first step (baset scaffoldcommand was done) I've decided that we have to implement something more intelligent than usual watch mode.
Workflow mode:
At start runs all tests and creates dependency graph for each test file;
Reruns tests ONLY in case if something from dependency graph was changed (modules cache should be taken into account to have consistent results);
Watches creating of source files using --files option from CLI or config file and creates spec for each such file using scaffold functionality;
Watches editing of source files - reruns related tests and if edited source file has new export or some of already exported classes/namespaces has new functions, adds new usages to end of spec file;
Since main goal of this tool is providing a way to create tests that could be used as documentation with minimal efforts from developers and first step (
baset scaffold
command was done) I've decided that we have to implement something more intelligent than usual watch mode.Workflow mode:
--files
option from CLI or config file and createsspec
for each such file usingscaffold
functionality;The text was updated successfully, but these errors were encountered: