forked from UnitTestBot/UTBotCpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'UnitTestBot:main' into main
- Loading branch information
Showing
419 changed files
with
16,233 additions
and
2,900 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
name: Regression checklist | ||
about: Checklist for smoke testing of release build | ||
title: '' | ||
labels: qa | ||
assignees: '' | ||
--- | ||
|
||
Get build from this run - https://github.com/UnitTestBot/UTBotCpp/actions/workflows/publish-utbot.yml | ||
|
||
Setup dedicated server according to following manual - https://github.com/UnitTestBot/UTBotCpp/wiki/install-server | ||
Setup local server according to following manual - https://github.com/UnitTestBot/UTBotCpp/wiki/docker-free-wsl2 | ||
|
||
_**Delete project folders with sample project on remote and local server if they are left from previous test runs.**_ | ||
|
||
VSCode: | ||
- [ ] Install plugin (`Ctrl-Shift-P` - `Extensions: Install plugin from VSIX`) | ||
- [ ] Verify version on plugin page (`Ctrl-Shift-X` search for `@installed unittestbot`) | ||
|
||
- [ ] Open folder with unpacked attached sample project - UnitTestBot Wizard should be started | ||
- [ ] SFTP and Sarif Viewer plugins are marked as installed on first page of the Wizard | ||
- [ ] On Server configuration check that both local and server connection could be established. | ||
- [ ] When cannot connect proper error should be shown | ||
- [ ] Connect to remote server and complete the wizard - build folder created, project configured | ||
|
||
|
||
- [ ] Open `lib\calc.c` file, generate tests for `div(int a, int b)` function - tests are generated, Sarif report is opened | ||
- [ ] Run only one test - `regression` tests pass, `error` tests fails, coverage shown in `calc.c` file. | ||
- [ ] Run all generated tests in test file - `regression` tests pass, `error` tests fails, coverage shown in `calc.c` file. | ||
|
||
|
||
- [ ] Generate and run tests for items listed below. Before the test remove `tests` folder. After test verify proper number of tests files appeared and run one of them. | ||
- [ ] File `lib\str_utils.c` | ||
- [ ] Folder `src` | ||
- [ ] Project | ||
|
||
- [ ] Verbose | ||
- [ ] On | ||
- [ ] Off | ||
|
||
- [ ] Log windows (writing to log could be unstable - see #430) | ||
- [ ] UTBot: Client Log | ||
- [ ] UTBot: Server Log | ||
- [ ] UTBot: Test console | ||
|
||
- [ ] Open UTBot Explorer (at left pane) | ||
- [ ] [Target window](https://github.com/UnitTestBot/UTBotCpp/wiki/targets) | ||
- [ ] Source Code window | ||
|
||
- [ ] CLion plugin - do simple test - install plugin - configure to work with local server generate and run some test. Additionally verifying that coverage is generated. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "docs/**" | ||
repository_dispatch: | ||
types: [docs] | ||
gollum: | ||
|
||
env: | ||
GIT_AUTHOR_NAME: Actionbot | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
SYNC_CHANGES_REPO_NAME: docs-sync | ||
|
||
jobs: | ||
job-sync-docs-to-wiki: | ||
runs-on: ubuntu-latest | ||
if: github.event_name != 'gollum' | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Sync docs to wiki | ||
uses: UnitTestBot/wiki-sync-action@main | ||
with: | ||
source: docs | ||
destination: wiki | ||
token: ${{ secrets.ACCESS_TOKEN }} | ||
gitAuthorName: ${{ env.GIT_AUTHOR_NAME }} | ||
gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }} | ||
|
||
job-sync-wiki-to-docs: | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'gollum' | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.ACCESS_TOKEN }} # allows us to push back to repo | ||
- name: Sync Wiki to Docs | ||
uses: UnitTestBot/wiki-sync-action@main | ||
with: | ||
source: wiki | ||
destination: docs | ||
token: ${{ secrets.ACCESS_TOKEN }} | ||
gitAuthorName: ${{ env.GIT_AUTHOR_NAME }} | ||
gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }} | ||
branch: wiki_branch | ||
- name: Create PR for success | ||
run: | | ||
BRANCH="$(git rev-parse --abbrev-ref HEAD)" | ||
if [[ "$BRANCH" != "main" ]]; then | ||
gh pr create --fill | ||
fi | ||
env: | ||
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"include": [ | ||
{ | ||
"DOCKER_TAG": "2022.10.0", | ||
"OPERATING_SYSTEM_TAG": "18.04", | ||
"LLVM_VERSION_MAJOR": "10" | ||
"DOCKER_TAG": "2024.03.0", | ||
"OPERATING_SYSTEM_TAG": "20.04", | ||
"LLVM_VERSION_MAJOR": "14" | ||
} | ||
] | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright 2022 UnitTestBot contributors (utbot.org) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
UnitTestBot | ||
Copyright 2022 UnitTestBot contributors (utbot.org) |
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
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
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
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
Oops, something went wrong.