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

Integration test harness #17

Open
jimthematrix opened this issue Jul 25, 2021 · 2 comments
Open

Integration test harness #17

jimthematrix opened this issue Jul 25, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@jimthematrix
Copy link
Contributor

Stand up real components to test various functions, especially those that rely on external components:

  • mongodb
  • kafka

Run automated tests to carry out end to end scenarios to exercise all the components involved

@jimthematrix jimthematrix added the help wanted Extra attention is needed label Aug 2, 2021
@janrockdev
Copy link
Contributor

I have added the example of Kafka integration test to my fork (branch: draft). https://github.com/janrockdev/firefly-fabconnect/tree/draft/test/integration/kafka

  1. create Kafka (Confluent) standalone server with UI and ecosystem
  2. create topic "ffin"
  3. send test message and compare with expected
  4. remove all (this step can be removed to keep Kafka available for other tests of part of a development environment)

I can adjust it for the fabconnect as you will need. I kept logging there just in case you want to use it in CLI etc. It takes ~80sec to run the test with all images pull.

@janrockdev
Copy link
Contributor

@jimthematrix do you mean similar type of integration test module for MongoDB as we have for Kafka?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants