Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helaili/test-plan-action
Manage you test plans with an automated project board
https://github.com/helaili/test-plan-action
actions test
Last synced: about 2 months ago
JSON representation
Manage you test plans with an automated project board
- Host: GitHub
- URL: https://github.com/helaili/test-plan-action
- Owner: helaili
- License: mit
- Created: 2020-12-01T16:51:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-04T21:23:29.000Z (about 4 years ago)
- Last Synced: 2024-11-17T20:51:31.711Z (about 2 months ago)
- Topics: actions, test
- Language: JavaScript
- Homepage:
- Size: 1.22 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# test-plan-action
Manage you test plans with an automated project boardEverytime you need to go through a validation phase, all your test cases will be loaded as issues and added to a project board. You can then track progress by moving the issue through columns, assign them to testers and close them when the test case is validated.
### Create tests
Each test will be described in its own markdown file using the [Front Matter](https://jekyllrb.com/docs/front-matter/) syntax. Fields in the Front Matter section (between the `---`) are:- `title`: the title of the issue
- `labels`: a comma separated list of labels that will be added to the issue
- `assignees`: a comma separated list of handles of users who will be assigned this issueThe rest of the file will be the body of the issue.
```markdown
---
title: "Login"
labels: manual test, needs triage
assignees: helaili
---**Describe the test**
A clear and concise description of what the test is.**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error**Expected behavior**
A clear and concise description of what you expected to happen.**Status of the test**
- [ ] Reviewed
- [ ] Approved```
### Configure the test plan
Create a YAML config file with the following data:
`name`: The name of the project board that will be created
`folder`: Relative path from the root of the repository where the test files are located
`columns`: List of the columns of the project board. Issues will be created in the first column```yaml
name: Test Campaign
folder: test-cases
columns:
- New
- Active
- Resolved
```#### Create a pipeline
Use this action in a pipeline triggered by the event of your choice. Make sure you use the `actions/checkout` action in a previous step so that the test case files are available.
```yaml
name: Generate test planon:
workflow_dispatchjobs:
generate-test-campaign:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v2- name: Generate Test Campaign
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
```