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

Automated regression testing of binaries #685

Closed
3 tasks
jm-clius opened this issue Jul 23, 2021 · 1 comment
Closed
3 tasks

Automated regression testing of binaries #685

jm-clius opened this issue Jul 23, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jm-clius
Copy link
Contributor

Background

The nim-waku codebase incorporates a large number of unit tests with a fair amount of code coverage (though this could probably be measured and evaluated). These tests are run as part of regular CI testing and have been invaluable in detecting and fixing regression bugs.

However, we have very few regular tests that cover the integrated functionality of a wakunode2 and no tests that ensure that our compiled binaries function as expected. In short, we need proper "black-box testing" that run at regular intervals.

A test could, for example, create and run the wakunode2 binary (similar to the simulation here) and test its external functionality via the JSON-RPC API.

Acceptance criteria

Black-box test that:

  • tests configuring and setting up all binaries (wakunode2, chat2, chat2bridge, etc.)
  • uses the JSON-RPC to test basic functionality
  • runs at regular intervals (e.g. nightly)

Either Jenkins jobs or GH workflows should be suitable for setting up and automatic the test(s).

@jm-clius jm-clius added the good first issue Good for newcomers label Jul 23, 2021
@jm-clius jm-clius added the enhancement New feature or request label Jul 23, 2021
@jm-clius
Copy link
Contributor Author

Replaced by more specific issues, such as: status-im/infra-nim-waku#79

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

No branches or pull requests

1 participant