Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch/Workflow mode #65

Open
Igmat opened this issue Mar 23, 2018 · 0 comments
Open

Watch/Workflow mode #65

Igmat opened this issue Mar 23, 2018 · 0 comments
Projects
Milestone

Comments

@Igmat
Copy link
Owner

Igmat commented Mar 23, 2018

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:

  1. At start runs all tests and creates dependency graph for each test file;
  2. Reruns tests ONLY in case if something from dependency graph was changed (modules cache should be taken into account to have consistent results);
  3. Watches creating of source files using --files option from CLI or config file and creates spec for each such file using scaffold functionality;
  4. 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;
  5. It also has to be compatible with debugging scenarios(Debugging scenario #59).
@Igmat Igmat added this to the v1.0.0 milestone Mar 23, 2018
@Igmat Igmat added this to To Do in Baset board via automation Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Baset board
  
To Do
Development

No branches or pull requests

1 participant