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

Add TestSuite + Regression and Integration Tests for 1:n Databridge #315

Open
aaronzi opened this issue Aug 29, 2024 · 0 comments
Open

Add TestSuite + Regression and Integration Tests for 1:n Databridge #315

aaronzi opened this issue Aug 29, 2024 · 0 comments
Labels
low effort Tickets with less than 0.5 SP

Comments

@aaronzi
Copy link
Member

aaronzi commented Aug 29, 2024

As a data integrator,
I want to work with reliable and tested features so that unforeseen behaviour is detected as early as possible.

Rules

  • create a generic TestSuite "DataBridge1ToNTestSuite" or similar
  • TestSuite should cover both, multiple data sinks with and without a transformer mapping configuration (for orientation, see:
    • examples.dot-aas-v3-multicast
    • examples.dot-aas-v3-multi-route
  • currently, there is a simple regression test, that extends the DataBridgeSuiteMqtt Test. This should be replaced by a regression test extending the DataBridge1ToNTestSuite
  • Implement regression tests for each route option (event, timer, request)
  • Implement integration test for at least one of the route options.
  • Tests should be implemented using BaSyx v2

Entry Points

Add TestSuite and regression tests here:

  • basyx-databridge\databridge.component\src\test\java\org\eclipse\digitaltwin\basyx\databridge\executable\regression

Add integration test(s) here:

  • basyx-databridge\databridge.component\src\test\java\org\eclipse\digitaltwin\basyx\databridge\executable\integration

For orientation:

  • basyx-databridge\databridge.examples\databridge.examples.dot-aas-v3-multicast
  • basyx-databridge\databridge.examples\databridge.examples.dot-aas-v3-multiroute

Acceptance Criteria

  • 1:n regression tests for all route options (event, timer, request)
  • 1:n integration test(s) for at least one route option
@aaronzi aaronzi converted this from a draft issue Aug 29, 2024
@aaronzi aaronzi added the low effort Tickets with less than 0.5 SP label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low effort Tickets with less than 0.5 SP
Projects
Status: DataBridge
Development

No branches or pull requests

1 participant