addtional test scenarious #15
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
name: Run TestSpec | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
rest: | |
runs-on: ubuntu-latest | |
name: TestSpec Action RestAPI | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: RestAPI Features Testing | |
uses: Testing-By-Specification/[email protected] | |
with: | |
version: '0.0.4' | |
plugin_type: 'directory' | |
plugin_path: './src/test/resources/features/rest' | |
database: | |
runs-on: ubuntu-latest | |
name: TestSpec Action Database | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Database Features Testing | |
uses: Testing-By-Specification/[email protected] | |
with: | |
version: '0.0.4' | |
plugin_type: 'directory' | |
plugin_path: './src/test/resources/features/database' | |
core: | |
runs-on: ubuntu-latest | |
name: TestSpec Action Core | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Command Features Testing | |
uses: Testing-By-Specification/[email protected] | |
with: | |
version: '0.0.4' | |
plugin_type: 'file' | |
plugin_path: './src/test/resources/features/core/Command.feature' | |
- name: Core Features Testing | |
uses: Testing-By-Specification/[email protected] | |
with: | |
version: '0.0.4' | |
plugin_type: 'file' | |
plugin_path: './src/test/resources/features/core/Core.feature' | |
- name: Exampples in Features Testing | |
uses: Testing-By-Specification/[email protected] | |
with: | |
version: '0.0.4' | |
plugin_type: 'file' | |
plugin_path: './src/test/resources/features/core/ExamplesInFeature.feature' | |
- name: Tags Features Testing | |
uses: Testing-By-Specification/[email protected] | |
with: | |
version: '0.0.4' | |
plugin_type: 'file' | |
plugin_path: './src/test/resources/features/core/Tags.feature' |