From 712bd43322434e74f5018f6637146d9e7e7cafc5 Mon Sep 17 00:00:00 2001 From: Denis Fokin Date: Tue, 24 May 2022 14:31:55 +0300 Subject: [PATCH 1/2] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..d56db3917a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,48 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Description** +There are hundreds of error messages in the UTBot log. Looks like the problem is in the concrete executor. + +**To Reproduce** +Steps to reproduce the behavior: +_Example:_ +1. Run the 'X' project in IntelliJ Idea +2. Use plugin to generate tests +3. Open the generated test + +**Expected behavior** +_Example:_ Tests are supposed to be generated. + +**Actual behavior** +_Example:_ An error test is generated with information about errors in the concrete executor. + +**Visual proofs (screenshots, logs, images)** + +_Example:_ +public void testFail_errors() { +// Couldn't generate some tests. List of errors: +// +// 684 occurrences of: +// Concrete execution failed +} + +**Environment** +Test framework: +Java: +
+Mockito + - [Other packages] + - [Other classes] + - [Static mocking] +
+- [Parametrized test] + +**Additional context** +Add any other context about the problem here. From bb67556759c5840995daa8db0d645b4f7e44b47f Mon Sep 17 00:00:00 2001 From: Denis Fokin Date: Tue, 24 May 2022 14:51:05 +0300 Subject: [PATCH 2/2] MD fixes --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d56db3917a..dfd48feacc 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -8,41 +8,55 @@ assignees: '' --- **Description** -There are hundreds of error messages in the UTBot log. Looks like the problem is in the concrete executor. + +_Example:_ There are hundreds of error messages in the UTBot log. Looks like the problem is in the concrete executor. **To Reproduce** + Steps to reproduce the behavior: + _Example:_ + 1. Run the 'X' project in IntelliJ Idea 2. Use plugin to generate tests 3. Open the generated test **Expected behavior** + _Example:_ Tests are supposed to be generated. **Actual behavior** + _Example:_ An error test is generated with information about errors in the concrete executor. **Visual proofs (screenshots, logs, images)** _Example:_ +~~~ public void testFail_errors() { // Couldn't generate some tests. List of errors: // // 684 occurrences of: // Concrete execution failed } +~~~ **Environment** + Test framework: + Java: -
-Mockito - - [Other packages] - - [Other classes] - - [Static mocking] -
-- [Parametrized test] + +Mockito: + + - [ ] Other packages + - [ ] Other classes + - [ ] Static mocking + +Test: + +- [ ] Parametrized **Additional context** + Add any other context about the problem here.