Skip to content

Commit

Permalink
Merge pull request #234 from Progi1984/qaTooling
Browse files Browse the repository at this point in the history
QA : Tooling (PrestHubot)
  • Loading branch information
Robin-Fischer-PS committed Nov 20, 2023
2 parents 1ad0734 + 9de6b07 commit e7da7dd
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 0 deletions.
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) -->
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 content/project-organization/quality-council/tooling/presthubot.md
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).

0 comments on commit e7da7dd

Please sign in to comment.