Skip to content

Commit

Permalink
Merge pull request #2 from techconative/configName
Browse files Browse the repository at this point in the history
Config name support
  • Loading branch information
sundarlogan authored May 10, 2024
2 parents 9c440a2 + 2663099 commit f4f9171
Show file tree
Hide file tree
Showing 10 changed files with 9,179 additions and 3,243 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/publish.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build

- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 11 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
branches:
- main

plugins:
- - "@semantic-release/commit-analyzer"
- - "@semantic-release/release-notes-generator"
- - "@semantic-release/npm"
- - "@semantic-release/git"
- assets:
- package.json
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Core features:

* Support for Jasmine/Jest/Mocha and Cucumber runtime frameworks
* Test results are aggregated under the same test run if you are executing more spec(test) files and they are belongs to the same suite
* Using Azure Configurations, test results can be categorized as per the configuration (dev/stage/prod) used
* Results are reported immediately after single test execution (real-time reporting)
* Test run is closed after last spec(test) file has been finished
* Multi suite support


## Installation

Install this module locally with the following command to be used as a (dev-)dependency:
Expand Down Expand Up @@ -53,6 +53,7 @@ exports.config = {
planId: 263072,
suiteId: 263073,
runName: 'FE regression tests for TestPlan',
configurationName: 'stage'
},
],
],
Expand Down Expand Up @@ -89,10 +90,15 @@ Scenario Can authenticate a valid user
### Azure DevOps Report Example
This is an example of the results pushed on AZ Test Plans, during a test run
#### This is an example of the results pushed on AZ Test Plans, during a test run
![AzureDevops Test Plans example](./img/AZ-DevOps-example.png)
<br>
#### If you have multiple Configurations, using `configurationName` test results can be categorized
![AzureDevops Test Plans Configurations](./img/AZ-config.png)
![AzureDevops Test Results History](./img/AZ-resultHistory.png)
![AzureDevops Test Point History](./img/AZ-testpointHistory.png)
## Service Options
Expand Down Expand Up @@ -167,3 +173,13 @@ Type: `string`
Default: `"@?[cC](\d+)"`
Required: `false`
### configurationName
If you have multiple Configurations in Azure (Test Plans - Configurations) apart from the default-one, you need to mention the configuration name to filter the test points as per the configuration while creating test run & update test results.
Example: `"prod"`
Type: `string`
Required: `false`
Binary file added img/AZ-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/AZ-resultHistory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/AZ-testpointHistory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f4f9171

Please sign in to comment.