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

[TESTING] Integration E2E Tests for backward compatibility (Happy + Unhappy Path) #529

Closed
3 tasks done
mkanal opened this issue Apr 9, 2024 · 7 comments
Closed
3 tasks done
Assignees
Labels
spill_over Issues which are not finished yet testing all testing related topics

Comments

@mkanal
Copy link
Contributor

mkanal commented Apr 9, 2024

As team
I want to have test for backward compatibility of semantic models
so that we have a good evidence that irs works

Hints / Details

  • ...

Acceptance Criteria

  • Tests for different traversal semantic models for major release 3.0.0 SLUAB, SLBAB
  • Tests for different semantic models for major release 2.0.0 PartAsPlanned, SerialPart 3.0.0 etc.
  • This covers creating own testdata with new semantic models in future versions with modifications like SerialPart 3.1.0 or 3.2.1 which does not exists right now

Outcome

Out of Scope

  • ...
@mkanal mkanal added this to IRS Apr 9, 2024
@github-project-automation github-project-automation bot moved this to inbox in IRS Apr 9, 2024
@jzbmw jzbmw added the testing all testing related topics label Apr 11, 2024
@jzbmw jzbmw moved this from inbox to backlog in IRS Apr 12, 2024
@mkanal mkanal changed the title [TESTING] Integration E2E Tests for backward compatibiltiy (Happy + Unhappy Path) [TESTING] Integration E2E Tests for backward compatibility (Happy + Unhappy Path) Apr 15, 2024
@ds-jhartmann ds-jhartmann moved this from backlog to next in IRS May 28, 2024
@dsmf dsmf moved this from next to wip in IRS Jun 4, 2024
@dsmf dsmf self-assigned this Jun 4, 2024
@mkanal mkanal added the spill_over Issues which are not finished yet label Jun 10, 2024
ds-jhartmann added a commit to ds-jhartmann/item-relationship-service that referenced this issue Jun 13, 2024
…585-up-to-date-component-diagram

feat(docs):[TRI-1585] Add missing components to building block view
@dsmf
Copy link
Contributor

dsmf commented Jun 18, 2024

Outcome:

    • Add aspects needed for the tests to localModels in catena-x-environments: Catena x environments 529 #705
      • merged, branch deleted
      • After merge switch back env branch in ArgoCD

dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
…LevelUsageAsBuilt, SingleLevelUsageAsPlanned
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
…y tests

(the tests themselves will be added in separate branch/PR)
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
@dsmf dsmf mentioned this issue Jun 19, 2024
2 tasks
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
dsmf added a commit to dsmf/tx-item-relationship-service that referenced this issue Jun 19, 2024
ds-jhartmann added a commit that referenced this issue Jun 20, 2024
chore(test):[#529] fix SingleLevelBomAsBuilt test documentation
@dsmf dsmf moved this from wip to test in IRS Jun 20, 2024
@mkanal
Copy link
Contributor Author

mkanal commented Jun 20, 2024

Review:

image

Tests:
https://jira.catena-x.net/browse/TRI-2050
https://jira.catena-x.net/browse/TRI-2049
https://jira.catena-x.net/browse/TRI-2048
https://jira.catena-x.net/browse/TRI-2047

@dsmf
Copy link
Contributor

dsmf commented Jun 20, 2024

@dsmf
Copy link
Contributor

dsmf commented Jun 20, 2024

@mkanal:

Please link Tests in Xray to suitable Test Plan for Test Execution.

Since #371 there is no cucumber xray integration anymore, see

grafik

@dsmf
Copy link
Contributor

dsmf commented Jun 20, 2024

@mkanal:

Evidence for AC 1 & 3. How is this implemented?

https://github.com/eclipse-tractusx/item-relationship-service/blob/main/docs/concept/%23529-E2E-tests-aspect-version-compatibility/%23529-E2E-tests-aspect-version-compatibility.md describes how this is implemented.

See the different major semantic model versions in the test data structure (files are linked there). Concerning future versions see the attribute futureAddedAttribute in the test data and the not yet existing model version in the test data:

grafik

@mkanal
Copy link
Contributor Author

mkanal commented Jun 21, 2024

Semantic Models like SerialPart are checked against a given schema. Testing agains a new future version will not work in this case. Tests using futureAddedField to simulate a future change in the semantic model are realized only for traversal aspects.

@mkanal
Copy link
Contributor Author

mkanal commented Jun 21, 2024

LGFM
PO acceptance in behalf of @jzbmw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spill_over Issues which are not finished yet testing all testing related topics
Projects
Status: done
Development

No branches or pull requests

3 participants