Skip to content

Ketryx/Ketryx-Git-Webinar

 
 

Repository files navigation

Ketryx Git Webinar

This is a sample repository highlighting the Ketryx Platform features around Git-based configuration items for our webinar about Git for IEC 62304.

The sample code itself is a tiny web application based on Create Next App with TypeScript and Cucumber code. In addition, it contains some Java code.

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

Sample repository highlighting the Ketryx Platform features around Git-based configuration items for our webinar about Git for IEC 62304

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 50.9%
  • JavaScript 15.8%
  • Java 14.5%
  • CSS 14.0%
  • Gherkin 4.8%