Skip to content

Update wiki #676

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

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update wiki
  • Loading branch information
ladisgin committed Mar 26, 2024
commit b98692bb25a7692a9843762a16a544d792fa85a8
5 changes: 4 additions & 1 deletion docs/vscode-fine-tune.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Fine-tune test generation

You have already configured some settings with the _UTBot: Quickstart_ wizard, and you may change them later. You
You have already configured some settings with the _UTBot: Quickstart_ wizard, and you may change them later. You
can also adjust additional settings for your testing purposes.

Go to **File** > **Preferences** > **Settings** and navigate to **Extensions** > **UnitTestBot**.
Expand All @@ -18,12 +18,15 @@ Adjust the settings, if necessary:
| **Paths** | | |
| Build Directory | `build` | Contains `compile_commands.json` and `link_commands.json`. |
| CMake options | `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON`<br>`-DCMAKE_EXPORT_LINK_COMMANDS=ON` | Options passed to CMake command to automatically build your project. |
| Initial Teardown Functions | | Relative paths to json, that contains list of initial and teardown functions. [Format example](https://github.com/UnitTestBot/UTBotCpp/blob/main/integration-tests/c-example/itf.json) |
| Source Directories | | Relative paths to the projects you would like to generate tests for. |
| Test Directory | `tests`| Relative path to a directory to store your test code. |
| **Test Generation** | | |
| Generate for Static Functions | `True` | Set to `True` to generate tests for the C static functions. |
| Verbose formatting | `False` | Set to `True` to generate structured tests with more detail. |
| Error Mode | `Failing` | _Failing_ error tests fail then run.<br>_Passing_ error tests pass the checks. |
| Different Variables Of The Same Type | `False` | set to `True` if you want different value for same type of parameters. |
| Skip object without source | `False` | set to `True` if you want skip precompiled object files. |
| **Stubs** | | |
| Use Stubs | `False` | Set to `True` to use autogenerated stubs. |
| **Visual** | | |
Expand Down