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 a dummy connector to facilitate testing of caliper (also useful for build automation) #1554

Open
davidkel opened this issue Apr 24, 2024 · 0 comments
Labels
build enhancement New feature or request test

Comments

@davidkel
Copy link
Contributor

Caliper has many capabilities and unit tests aren't going to cover testing these capabilities. For example testing the behaviour of different rate controllers. If we add a dummy connector into caliper this affords us a lot of options as well as not having to have a real blockchain environment to test out caliper capabilities. We could then have integration/end to end tests that use this dummy connector to test the various aspects of caliper-cli and caliper-core as well as reduce the builld times when not testing connectors specifically.

this dummy connector could also be configured to vary it's response times either deterministically or randomly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build enhancement New feature or request test
Projects
None yet
Development

No branches or pull requests

1 participant