Documentation ¶
Overview ¶
Given old and new step gives the filenames of specification, concepts and files in code changed. Refactoring Flow: - Refactor specs and concepts in memory - Checks if it is a concept or not - In case of concept - writes to file and skips the runner - If its not a concept (its a step) - need to know the text, so makes a call to runner to get the text(step name) - Refactors the text(changes param positions ect) and sends it to runner to refactor implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRefactoringChanges ¶ added in v0.9.8
func GetRefactoringChanges(oldStep, newStep string, r runner.Runner, specDirs []string, saveToDisk bool) *refactoringResult
GetRefactoringChanges given an old step and new step gives the list of steps that need to be changed to perform refactoring. It also provides the changes to be made on the implementation files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.