Uh oh!
There was an error while loading. Please reload this page.
Introduce custom JavaDoc tags #565 - #585
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
55d9b35 to
38ca8c6CompareI would like to discuss several things.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Damtev
commented
Aug 9, 2022
|
c067536 to
22b6623CompareUh oh!
There was an error while loading. Please reload this page.
amandelpie
left a comment
There was a problem hiding this comment.
Please make some minor changes
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
3723680 to
7ad3155Compare…erate comment content with HTML tags, we need only replace custom tags' names with their messages to make it look nice
5ceb39f to
bd616a9CompareThe most part of requirements were implemented
Description
Introduce custom JavaDoc tags to make generated code comments structured.
@utbot.classUnderTest- Inline link to the enclosing class.@utbot.methodUnderTest- Inline link to the method we test.@utbot.expectedResult- Value we expect to get.@utbot.actualResult- Value we got.@utbot.executes- Executed condition.@utbot.invokes- Invoked method.@utbot.returnsFrom- Statement we return from.@utbot.throwsException- Thrown exception.The list of tags could be expanded
We show only tags that have some non-null value. After plugin's removal, IDE doesn't recognize our custom tags. It doesn't lead to errors, but highlights tags with yellow color.
TODO: Add a test in the intellij module in separate PR
TODO: @amandelpie suggested to add a tag for display name in (PR-624) in case of JUnit4 in separate PR.
TODO: After upgrading to 2022.1 fix comment rendering in separate PR by using default JavaDocInfoGenerator.
Fixes#565
Type of Change
How Has This Been Tested?
Automated Testing
Run tests
SummaryConditionsTest,SummaryMinStackTest,SummaryExceptionClusteringExamplesTest.Manual Scenario
Set
useFuzzing = falseanduseCustomJavaDocTags=trueinUtSettings.Case 1: check that tags are supported and shown in IDE.
@utbot-> you will notice that completion works and our custom tags are shown.Case 2: check that the plugin generates comments using custom tags.
Create tests with UTBotactionTested using runIde command.
Checklist (remove irrelevant options):