-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-docs-cpp-clion-plugin-md-45d5cc4dcc579a69fd2a.js.map
1 lines (1 loc) · 8.87 KB
/
component---src-docs-cpp-clion-plugin-md-45d5cc4dcc579a69fd2a.js.map
1
{"version":3,"file":"component---src-docs-cpp-clion-plugin-md-45d5cc4dcc579a69fd2a.js","mappings":"8RAMaA,EAAe,CAAC,OAAE,oOAC/B,IAAMC,EAAc,CAClBD,aAAAA,GAEIE,EAAYC,EAAAA,EACH,SAASC,EAAW,GAGhC,IAFDC,EAAU,EAAVA,WACGC,GAAK,YAER,OAAO,QAACJ,GAAS,UAAKD,EAAiBK,EAAK,CAAED,WAAYA,EAAYE,QAAQ,eAG5E,cACE,GAAM,sBAAoB,uBAE5B,cACE,GAAM,eAAa,gBAErB,yDACA,mBACE,cAAIC,WAAW,MAAI,0EACnB,cAAIA,WAAW,OAAK,sBAAYA,WAAW,MAAI,kBAAgC,wFAC/E,cAAIA,WAAW,OAAK,sBAAYA,WAAW,MAAI,iBAA+B,kEAC9E,cAAIA,WAAW,OAAK,sBAAYA,WAAW,MAAI,4BAA0C,sDAE3F,kBAAG,eAAKC,IAAI,sBAAsBC,IAAI,2HACtC,cACE,GAAM,oBAAkB,qBAE1B,wEACA,mBACE,cAAIF,WAAW,OACb,aAAGA,WAAW,MAAI,4EAA6E,sBAAYA,WAAW,KAAG,sCACzH,eAAKE,IAAI,mIAAmID,IAAI,aAAaE,OAAO,MAAMC,MAAM,UAElL,cAAIJ,WAAW,OACb,aAAGA,WAAW,MAAI,kGACxB,sBAAYA,WAAW,KAAG,sCAC1B,eAAKE,IAAI,yIAAyID,IAAI,kBAAkBE,OAAO,UAE3K,cAAIH,WAAW,OACb,aAAGA,WAAW,MAAI,uDAAwD,sBAAYA,WAAW,KAAG,SAAuB,+DAC5G,sBAAYA,WAAW,KAAG,mCAG7C,kBAAG,eAAKC,IAAI,kBAAkBC,IAAI,+IAClC,cACE,GAAM,+BAA6B,g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AAG,oBAClM,kBAAG,eAAKC,IAAI,0BAA0BC,IAAI,6HAG9C,CAAC,2NAEDN,EAAWS,gBAAiB,C","sources":["webpack://unittestbot-web/./src/docs/cpp/clion-plugin.md"],"sourcesContent":["import * as React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsxRuntime classic */\n/* @jsx mdx */\nimport DefaultLayout from \"/home/runner/work/utbot-site-staging/utbot-site-staging/node_modules/gatsby-theme-docz/src/base/Layout.js\";\nexport const _frontmatter = {};\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = DefaultLayout;\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n\n\n <h1 {...{\n \"id\": \"plugin-description\"\n }}>{`Plugin description`}</h1>\n <h2 {...{\n \"id\": \"ui-overview\"\n }}>{`UI overview`}</h2>\n <p>{`Main UI elements of the plugin are:`}</p>\n <ul>\n <li parentName=\"ul\">{`Status bar icons, they show connection status and verbose mode option`}</li>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`UTBot consoles`}</inlineCode>{`, a window to show logs from server (GTest log, Server log) and plugin (Client log)`}</li>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`UTBot targets`}</inlineCode>{`, a window to show targets found by server in current project`}</li>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`UTBot Source Directories`}</inlineCode>{`, a view to show source directories marked green`}</li>\n </ul>\n <p><img alt=\"clionPluginOverview\" src=\"https://github.com/UnitTestBot/unittestbot.github.io/blob/source/resources/images/clion_plugin/overview.png?raw=true\" /></p>\n <h2 {...{\n \"id\": \"tests-generation\"\n }}>{`Tests generation`}</h2>\n <p>{`You can trigger tests generation in multiple ways:`}</p>\n <ul>\n <li parentName=\"ul\">\n <p parentName=\"li\">{`From editor context menu. For example, right click in editor and choose `}<inlineCode parentName=\"p\">{`UTBot Generate Tests... for File`}</inlineCode></p>\n <img src=\"https://github.com/UnitTestBot/unittestbot.github.io/blob/source/resources/images/clion_plugin/generate/from-editor.png?raw=true\" alt=\"fromEditor\" height=\"400\" width=\"500\"></img>\n </li>\n <li parentName=\"ul\">\n <p parentName=\"li\">{`From project view context menu. For example, right click on file in project view and choose:\n`}<inlineCode parentName=\"p\">{`UTBot: Generate Tests For Folder`}</inlineCode></p>\n <img src=\"https://github.com/UnitTestBot/unittestbot.github.io/blob/source/resources/images/clion_plugin/generate/from-project-view.png?raw=true\" alt=\"fromProjectView\" height=\"600\"></img>\n </li>\n <li parentName=\"ul\">\n <p parentName=\"li\">{`From search window. Open search window by pressing `}<inlineCode parentName=\"p\">{`Shift`}</inlineCode>{` twice. Then search for a particular\naction, for instance `}<inlineCode parentName=\"p\">{`UTBot: Generate For project`}</inlineCode></p>\n </li>\n </ul>\n <p><img alt=\"fromProjectView\" src=\"https://github.com/UnitTestBot/unittestbot.github.io/blob/source/resources/images/clion_plugin/generate/trigger-from-search.png?raw=true\" /></p>\n <h2 {...{\n \"id\": \"running-tests-with-coverage\"\n }}>{`Running tests with coverage`}</h2>\n <h3 {...{\n \"id\": \"run-a-single-test\"\n }}>{`Run a single test`}</h3>\n <p><strong parentName=\"p\">{`How-to steps`}</strong>{`:`}</p>\n <ol>\n <li parentName=\"ol\">{`Open file with generated tests`}</li>\n <li parentName=\"ol\">{`Click on the icon located near the test`}</li>\n </ol>\n <p><img alt=\"runSingleTestGif\" src=\"https://github.com/UnitTestBot/unittestbot.github.io/blob/source/resources/gifs/clion_plugin/run/run-single-test.gif?raw=true\" /></p>\n <h3 {...{\n \"id\": \"run-all-tests-in-a-file\"\n }}>{`Run all tests in a file`}</h3>\n <p><strong parentName=\"p\">{`How-to steps`}</strong>{`:`}</p>\n <ol>\n <li parentName=\"ol\">{`Open file with generated tests`}</li>\n <li parentName=\"ol\">{`Click on the icon located near `}<inlineCode parentName=\"li\">{`UTBot`}</inlineCode>{` namespace`}</li>\n </ol>\n <p><img alt=\"runAllInFileGif\" src=\"https://github.com/UnitTestBot/unittestbot.github.io/blob/source/resources/gifs/clion_plugin/run/run-all-in-file.gif?raw=true\" /></p>\n <h3 {...{\n \"id\": \"run-all-tests-in-project\"\n }}>{`Run all tests in project`}</h3>\n <p><strong parentName=\"p\">{`How-to steps`}</strong>{`:`}</p>\n <ol>\n <li parentName=\"ol\">{`Open search window by pressing `}<inlineCode parentName=\"li\">{`Shift`}</inlineCode>{` twice`}</li>\n <li parentName=\"ol\">{`Search for `}<inlineCode parentName=\"li\">{`UTBot: Run All Tests and Show Coverage`}</inlineCode></li>\n </ol>\n <h2 {...{\n \"id\": \"manage-coverage\"\n }}>{`Manage coverage`}</h2>\n <p>{`Consider the following scenario: you ran tests `}<inlineCode parentName=\"p\">{`A`}</inlineCode>{` with coverage, and then you run\nsome other tests `}<inlineCode parentName=\"p\">{`B`}</inlineCode>{` with coverage. Then a dialog with three options will be opened: `}</p>\n <p><img alt=\"dialog\" src=\"https://github.com/UnitTestBot/unittestbot.github.io/blob/source/resources/images/clion_plugin/coverage/dialog.png?raw=true\" /></p>\n <p>{`It is because there is already coverage displayed\nfrom tests `}<inlineCode parentName=\"p\">{`A`}</inlineCode>{`, and you can choose:`}</p>\n <ul>\n <li parentName=\"ul\">{`to merge coverage from `}<inlineCode parentName=\"li\">{`A`}</inlineCode>{` with `}<inlineCode parentName=\"li\">{`B`}</inlineCode>{` `}<strong parentName=\"li\">{`(Add to active suites)`}</strong></li>\n <li parentName=\"ul\">{`to replace coverage from `}<inlineCode parentName=\"li\">{`A`}</inlineCode>{` with coverage from `}<inlineCode parentName=\"li\">{`B`}</inlineCode>{` `}<strong parentName=\"li\">{`(Replace active suites)`}</strong></li>\n <li parentName=\"ul\">{`to show coverge only from `}<inlineCode parentName=\"li\">{`A`}</inlineCode>{` `}<strong parentName=\"li\">{`(Do not apply collected coverage)`}</strong></li>\n </ul>\n <h2 {...{\n \"id\": \"plugin-settings\"\n }}>{`Plugin settings`}</h2>\n <p>{`You can view and edit available settings in `}<inlineCode parentName=\"p\">{`Settings`}</inlineCode>{` -> `}<inlineCode parentName=\"p\">{`Tools`}</inlineCode>{` -> `}<inlineCode parentName=\"p\">{`UTBot Settings`}</inlineCode></p>\n <p><img alt=\"clionPluginSettingsDemo\" src=\"https://github.com/UnitTestBot/unittestbot.github.io/blob/source/resources/gifs/clion_plugin/settings-demo.gif?raw=true\" /></p>\n\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;\n "],"names":["_frontmatter","layoutProps","MDXLayout","DefaultLayout","MDXContent","components","props","mdxType","parentName","alt","src","height","width","isMDXComponent"],"sourceRoot":""}