Skip to content

[ZER-502] Setup the testsuite#2

Merged
mdasilva4 merged 4 commits into
mainfrom
feat/ZER-502-testsuite-setup
Oct 15, 2025
Merged

[ZER-502] Setup the testsuite#2
mdasilva4 merged 4 commits into
mainfrom
feat/ZER-502-testsuite-setup

Conversation

@mdasilva4
Copy link
Copy Markdown
Contributor

This PR setups the testsuite for ur-registry library including:

  • Run cppunit unit tests
  • Run static code analysis
  • Use exclusively standard library in the unit tests
  • Setup Github Actions

@mdasilva4 mdasilva4 self-assigned this Oct 8, 2025
@linear
Copy link
Copy Markdown

linear Bot commented Oct 8, 2025

ZER-502 UR Registry - Move unit tests to separate repo and set up CI

Description

Migrate existing unit tests related to the UR Registry from wallet-gui to the new standalone repo. Set up a basic CI pipeline (GitHub Actions) to handle:

  • Linting (cppcheck and flawfinder)
  • Building for testing program
  • Running tests

Currently the tests in the new repos can be executed by running:

./autogen.sh
./configure
make check

Definition of done ✅

  • Unit tests: replace QByteArray and QString with std::vector<uint8_t> and std::string using standard library functions
  • Unit tests are running successfully when executing make test
  • Static code analyzers are running successfully when executing make test
  • GitHub actions are configured and passing (build, lint, test)

@mdasilva4 mdasilva4 force-pushed the feat/ZER-502-testsuite-setup branch from 9ff586c to 7dca91a Compare October 8, 2025 11:49
@mdasilva4 mdasilva4 merged commit cbb7b2c into main Oct 15, 2025
1 check passed
@mdasilva4 mdasilva4 deleted the feat/ZER-502-testsuite-setup branch October 27, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants