Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Testmanagement] TRG Test Automation Proposal #969

Open
17 tasks
ds-hzimmer opened this issue Oct 25, 2024 · 0 comments
Open
17 tasks

[Testmanagement] TRG Test Automation Proposal #969

ds-hzimmer opened this issue Oct 25, 2024 · 0 comments
Assignees

Comments

@ds-hzimmer
Copy link

Status: Draft, not completed and refined yet

Overview

Providing a Tractus-X Release Guideline (TRG) for Test Automation using Open Source methods and tools, in order to give product teams a template and best-practice example to start with or improve

Focus will be on API tests at the integration test level (end-to-end).
Potentially UI tests at the integration test level can also be covered.
Test automation with Unit Tests at lower test levels are presumably out of scope of this TRG, as those are already covered elsewhere and standard for implementation.

Explain the topic in 2 sentences

Creation of a TRG for test automation Open Source methods and tools.
Providing code examples for an implementation focused on Cucumber (Gherkin).

What's the benefit?

Providing a guideline on how to implement a closed test automation cycle from feature user story via test case creation to implementation, test execution and test reporting.

Ultimately this should result in increased quality and speed in test execution.

What are the Risks/Dependencies ?

TRG would be defined within 25.03 release cycle, but presumably only go into effect for subsequent releases.

Other methods than described in the TRG could be used instead by product teams, thus not an immediate requirement.

Detailed explanation

TRG contents:

  • Test case creation using Gherkin syntax, DSL feature files
  • Use Cucumber with Maven to generate test classes and implement them.
  • Integrate GitHub automation to execute tests
  • (Potentially additional example code to import test run results into Jira Xray test management system (not open source))

Current implementation

Compare to existing implementations for products Trace-X and IRS as examples that can be provided

Proposed improvements

Feature Team

Catena-X e.V. test management (doubleSlash, on order of the association)

Potentially involvement of additional teams. Interviews for current test automation status have already been conducted with first teams.

Contributor

  • ds-meberle
  • ds-hzimmer
  • ds-asmierzchalski

Additional contributors to be determined

Committer

  • ds-lcapellino

Additional committers to be determined

User Stories

  • Issue 1, linked to specific repository
  • Issue 2, linked to another specific repository

Acceptance Criteria

  • TRG for Test Automation proposal created
  • TRG for Test Automation discussed with the respective expert groups and committees
  • TRG for Test Automation published

Test Cases

Test Case 1

Steps

  1. Do something
  2. Click something
  3. Add something

Expected Result

  1. Expectation
  2. Expectation
  3. Expectation

Architectural Relevance

The following items are ensured (answer: yes) after this issue is implemented:

Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)

Additional information

  • I am aware that my request may not be developed if no developer can be found for it. I'll try to contribute a developer (bring your own developer)
@ds-hzimmer ds-hzimmer self-assigned this Oct 25, 2024
@ds-hzimmer ds-hzimmer changed the title [Testmanagement][R25.03] TRG Test Automation Proposal [Testmanagement] TRG Test Automation Proposal Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Inbox
Development

No branches or pull requests

1 participant