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 complete testsuite #375

Merged
merged 16 commits into from
Aug 1, 2023
Merged

Add complete testsuite #375

merged 16 commits into from
Aug 1, 2023

Conversation

jankapunkt
Copy link
Member

@jankapunkt jankapunkt commented Aug 1, 2023

This PR completes the testsuite incl. documentation and CI.

It includes:

  • test proxy project with complete toolchain
    • lint / lint-fix
    • test once / test watch / test coverage
  • contribution guideline with detailed guide on how to setup and use the test proxy
  • ignore config to keep the repo footprint minimal and ignore test files when publishing the package
  • CI config files to run the linter and tests on any pull request

Additionally there were some fixes necessary in order to make the test suite work again:

  • fixes all js files with standard linter (except examples)
  • fix tests (especially client tests) in order to make coverage work
  • use nyc instead of deprecated instanbul

Additional Note:

  • there are still tests missing for migration 2 <--> 3 (forward/backward)
  • coverage reveals some uncovered blocks, should be improved soon

@jankapunkt jankapunkt mentioned this pull request Aug 1, 2023
@jankapunkt jankapunkt linked an issue Aug 1, 2023 that may be closed by this pull request
@jankapunkt jankapunkt merged commit ff9cad1 into master Aug 1, 2023
4 checks passed
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.

Add code quality tools
2 participants