Skip to content

Ketryx/demo-ketryx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ketryx Demo

This is a sample repository highlighting the Ketryx Platform features around Git-based configuration items and automated test reporting.

Structure

Automated tests are executed and reported to Ketryx as part of the CI/CD GitHub Actions workflow, with steps like the following:

  - name: Report JS build to Ketryx
    uses: Ketryx/ketryx-github-action@v1
    if: success() || failure()
    with:
      ketryx-url: ${{ vars.KETRYX_URL }}
      project: ${{ vars.KETRYX_PROJECT }}
      version: ${{ vars.KETRYX_VERSION }}
      api-key: ${{ secrets.KETRYX_API_KEY }}
      build-name: ci-js
      test-junit-path: test-results/jest-junit.xml
      test-cucumber-path: test-results/cucumber-report.json

  - name: Report Java build to Ketryx
    uses: Ketryx/ketryx-github-action@v1
    if: success() || failure()
    with:
      ketryx-url: ${{ vars.KETRYX_URL }}
      project: ${{ vars.KETRYX_PROJECT }}
      version: ${{ vars.KETRYX_VERSION }}
      api-key: ${{ secrets.KETRYX_API_KEY }}
      build-name: ci-java
      test-junit-path: java-src/build/test-results/test/*.xml

Install dependencies

npm install

Running Tests

Run unit and integration tests:

npm run test:unit-integration-ci

Run tests in watch mode:

npm test

Run end-to-end tests:

npm run test:e2e

Run Java unit tests:

cd java-src
./gradlew test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published