generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cpp): add test file creation logic
- Add logic to create a test file for a given source file in the CppWriteTestService class. - Check if the project root test folder exists, and create it if not. - Generate the test file name based on the source file name. - Use WriteAction to create the test file in the project directory. - Update the TestFileContext to include the newly created test file. - Also, add logic to determine the test framework used in the CLionWorkspaceContextProvider class. - Check the CMakeWorkspace for dependencies
- Loading branch information
Showing
2 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters