Generate your First Test Template
To generate your first test open the file you want to analyze and choose between the following three options to trigger the test template generation:
- Context menu: Right click into a function and select “Symflower: Generate Test Template for Function” from the context menu.
- Command palette: Position your cursor into a function. Open the command palette of your editor and start typing "Symflower". Select the entry “Symflower: Generate Test Template for Function”.
- Keyboard shortcut: Define a keyboard shortcut to trigger the test template generation. Position your cursor within a function and hit your specified keybinding.
Symflower then generates a new test method either by extending an already existing test file or by creating a new one. The chosen file location is determined the test path that is defined in your build configuration. If none can be found the test file is simply put within the same directory as your production code.
Symflower currently supports the build systems Maven and Gradle for automatic test path detection.
Give Us Feedback
We encourage you to send us your feedback on how you like Symflower. If you are missing a feature or found a problem that you think should be fixed, please open an issue on our community issue tracker or write us an email an email to firstname.lastname@example.org.