Remove the inspect command
Make the inspect step implicit, run by the generator when needed.
Completing this blueprint involves a few tasks:
* Come up with a mechanism that based on code location provided by the user will return list of modules and points of entry to be inspected (in other words: list of dependencies for test generation). For example, to generate tests for module foo.py, module foo.py will have to be analyzed, along with all the other modules foo imports and points of entry it is invoked by.
* Static inspector should skip analysis of those modules which weren't modified since last inspection.
* Full static and dynamic inspection should be done during init.
* Get rid of a notion of subcommands, leaving the behavior of the generate as default. Init will be invoked by passing --init option.
Blueprint information
- Status:
- Complete
- Approver:
- Michal Kwiatkowski
- Priority:
- Medium
- Drafter:
- Michal Kwiatkowski
- Direction:
- Needs approval
- Assignee:
- Michal Kwiatkowski
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 0.3-dynamic-analysis
- Started by
- Michal Kwiatkowski
- Completed by
- Michal Kwiatkowski