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

Expand API acceptance tests #88

Merged
merged 13 commits into from
Dec 11, 2023
Merged

Conversation

acuarica
Copy link
Contributor

@acuarica acuarica commented Nov 29, 2023

Description:

Expand the API acceptance tests for the verification service. Moreover, restore the original Sourcify tests where suitable.

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

In order to do so we need to declare Ganache as a `LOCAL_CHAINS`.
Moreover, in test we need define `USE_LOCAL_NODE` in order to
use chains from `LOCAL_CHAINS`.

Signed-off-by: Luis Mastrangelo <[email protected]>
@acuarica acuarica linked an issue Nov 29, 2023 that may be closed by this pull request
These tests rely on several chains being defined, but we only define
Hedera chains.
We `skip` these tests for now, but might be removed in the future.

Signed-off-by: Luis Mastrangelo <[email protected]>
Signed-off-by: Luis Mastrangelo <[email protected]>
Signed-off-by: Luis Mastrangelo <[email protected]>
@acuarica acuarica marked this pull request as ready for review December 7, 2023 18:46
@acuarica acuarica requested review from a team as code owners December 7, 2023 18:46
@acuarica acuarica requested review from david-bakin-sl and Sheng-Long and removed request for a team December 7, 2023 18:46
@acuarica
Copy link
Contributor Author

acuarica commented Dec 7, 2023

How can we enable coverage for these tests?

@Nana-EC Nana-EC added this to the 0.2.0 milestone Dec 7, 2023
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just some process stuff

.github/workflows/tests.yaml Outdated Show resolved Hide resolved
src/sourcify-chains.ts Show resolved Hide resolved
test/server.js Show resolved Hide resolved
test/server.js Show resolved Hide resolved
@Nana-EC Nana-EC requested review from svienot and Nana-EC and removed request for david-bakin-sl and Sheng-Long December 7, 2023 19:33
Copy link
Contributor

@svienot svienot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG except CI break out

.github/workflows/tests.yaml Show resolved Hide resolved
test/server.js Show resolved Hide resolved
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@acuarica acuarica merged commit f028700 into main Dec 11, 2023
5 checks passed
@acuarica acuarica deleted the 73-expand-acceptance-test-offering branch December 11, 2023 21:13
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.

Expand acceptance test offering
3 participants