-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #234 from Progi1984/qaTooling
QA : Tooling (PrestHubot)
- Loading branch information
Showing
9 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
content/project-organization/quality-council/tooling/_index.md
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,9 @@ | ||
--- | ||
title: Tooling | ||
--- | ||
|
||
# Tooling | ||
|
||
<!-- * [Nightly Board](./nightly-board) --> | ||
* [PrestHubot](./presthubot) | ||
<!-- * [Test Scenarios](./test-scenarios) --> |
Binary file added
BIN
+35.5 KB
content/project-organization/quality-council/tooling/images/presthubot-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+116 KB
content/project-organization/quality-council/tooling/images/presthubot-2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+72 KB
content/project-organization/quality-council/tooling/images/presthubot-3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+70.8 KB
content/project-organization/quality-council/tooling/images/presthubot-4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.3 KB
content/project-organization/quality-council/tooling/images/presthubot-5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.1 KB
content/project-organization/quality-council/tooling/images/presthubot-6.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.9 KB
content/project-organization/quality-council/tooling/images/presthubot-7.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 67 additions & 0 deletions
67
content/project-organization/quality-council/tooling/presthubot.md
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,67 @@ | ||
--- | ||
title: PrestHubot | ||
--- | ||
|
||
# PrestHubot | ||
|
||
## Goal | ||
|
||
Presthubot is the QA team's Slack Notifier. It checks several rules and sends a report via Slack. | ||
|
||
## Schedule | ||
|
||
Every week day at 06:45 AM | ||
|
||
## Code | ||
|
||
You can find the workflow on [Github](https://github.com/PrestaShop/presthubot/blob/master/.github/workflows/slacknotifier.yml). | ||
|
||
## How it works | ||
|
||
We can divide the process in two parts : QA Functional & QA Automation. | ||
|
||
### QA Functional | ||
|
||
#### PR Stats for QA | ||
![PR Stats for QA](./images/presthubot-1.png) | ||
|
||
This returns the number of Pull Requests that are pending: | ||
* on the various branches under development | ||
* on modules | ||
* on specifications | ||
|
||
But also the PRs awaiting their author, and those that are blocked. | ||
|
||
#### PR Ready to Test | ||
![PR Ready to Test](./images/presthubot-2.png) | ||
|
||
This returns Pull Requests that are awaiting QA on the various branches under development and on the modules. | ||
|
||
### QA Automation | ||
|
||
#### Nightly Board | ||
![Nightly Board](./images/presthubot-3.png) | ||
|
||
This returns the nightly status of the various branches under development and the autoupgrade module. | ||
|
||
By status, we mean the number of tests that have passed, failed and are skipped, as well as the processing time. | ||
|
||
#### PR Ready to Test | ||
![PR Ready to Test](./images/presthubot-4.png) | ||
|
||
This returns the various Pull Requests to be reviewed by the project's Software Developers in Test. It also indicates which maintainers have already approved them. | ||
|
||
#### JIRA (Need a Github Path) | ||
![JIRA (Need a Github Path)](./images/presthubot-5.png) | ||
|
||
This returns the various scenarios on JIRA which have been automated but which have not defined the test URL. | ||
|
||
#### JIRA (Have an invalid Github Path) | ||
![JIRA (Have an invalid Github Path)](./images/presthubot-6.png) | ||
|
||
This returns the various scenarios on JIRA which have been automated but which have an invalid URL for the test. | ||
|
||
#### Github issues (ToDo exist but GH are closed) | ||
![Github issues (ToDo exist but GH are closed)](./images/presthubot-7.png) | ||
|
||
In UI tests, the Software Developer in Test skips some tests due to the presence of bugs. To do this, they add a comment with the link to the issue representing the bug. Presthubot checks every day that the issues remain open as long as the comments are present. This means that a test can be activated as soon as the bug has been corrected (when the developer has not activated the test). |