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

Feature/unit test #63

Merged
merged 12 commits into from
Jun 26, 2024
Merged

Feature/unit test #63

merged 12 commits into from
Jun 26, 2024

Conversation

AbigailDeng
Copy link
Collaborator

No description provided.

Copy link

vizipi bot commented Jun 26, 2024

Pull request analysis by VIZIPI

Below you will find who is the most qualified team member to review your code.
This analysis includes his/her work on the code included in this Pull request, in addition to their experience in code affected by these changes ( partly found within the list of potential missing files below )   Feedback always welcome

Reviewers with knowledge related to these changes

Match % Person Commit Count Common Files
9.52% yongenaelf 2 2

Potential missing files from this Pull request

files commonly committed with a subset of this pr, but not committed this time. (click to collapse)
FilePercentilerate
src/command/dappServer/index.js90.00%9 out of 10 times
src/utils/constants.js70.00%7 out of 10 times
src/command/proposal.js70.00%7 out of 10 times
src/command/call.js70.00%7 out of 10 times
src/command/event.js70.00%7 out of 10 times
src/command/deploy.js70.00%7 out of 10 times

Committed file ranks

(click to expand)
  • 21.69%[.github/workflows/test.yml]
  • 0.00%[test/utils/wallet.test.js]
  • 0.00%[test/dataDir/aelf/.aelfrc]
  • 0.00%[test/command/dappServer/encrypt.test.js]
  • 90.36%[src/command/dappServer/socket.js]
  • 42.17%[jest.config.js]
  • 0.00%[test/command/dappServer/utils.test.js]
  • 98.80%[package.json]
  • 97.59%[yarn.lock]
  • 0.00%[test/command/dappServer/sign.test.js]
  • Copy link

    Total coverage

    Lines Branches Functions Statements
    96.42% (+0.00%) 89.60% (+0.00%) 98.12% (+0.00%) 96.35% (+0.00%)

    Detailed report

    click to open the diff coverage report
    File Lines Branches Functions Statements
    /home/runner/work/aelf-command/aelf-command/src/index.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/baseSubCommand.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/call.js 97.61% (+97.61%) 81.81% (+81.81%) 100.00% (+100.00%) 97.61% (+97.61%)
    /home/runner/work/aelf-command/aelf-command/src/command/config.js 93.93% (+93.93%) 100.00% (+100.00%) 100.00% (+100.00%) 93.93% (+93.93%)
    /home/runner/work/aelf-command/aelf-command/src/command/console.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/create.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/deploy.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/event.js 95.00% (+95.00%) 83.33% (+83.33%) 100.00% (+100.00%) 95.23% (+95.23%)
    /home/runner/work/aelf-command/aelf-command/src/command/getBlkHeight.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/getBlkInfo.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/getChainStatus.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/getTxResult.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/load.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/proposal.js 96.49% (+96.49%) 82.60% (+82.60%) 100.00% (+100.00%) 96.49% (+96.49%)
    /home/runner/work/aelf-command/aelf-command/src/command/send.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/wallet.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/dappServer/HKDF.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/dappServer/constants.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/dappServer/encrypt.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/dappServer/index.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/command/dappServer/sign.js 92.59% (+92.59%) 100.00% (+100.00%) 100.00% (+100.00%) 92.59% (+92.59%)
    /home/runner/work/aelf-command/aelf-command/src/command/dappServer/socket.js 100.00% (+100.00%) 88.73% (+88.73%) 94.11% (+94.11%) 99.29% (+99.29%)
    /home/runner/work/aelf-command/aelf-command/src/command/dappServer/utils.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/rc/index.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/utils/Logger.js 100.00% (+100.00%) 93.75% (+93.75%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/utils/fs.js 83.33% (+83.33%) 80.00% (+80.00%) 100.00% (+100.00%) 84.21% (+84.21%)
    /home/runner/work/aelf-command/aelf-command/src/utils/myLogger.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/utils/userHomeDir.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/src/utils/utils.js 86.50% (+86.50%) 79.78% (+79.78%) 93.54% (+93.54%) 86.58% (+86.58%)
    /home/runner/work/aelf-command/aelf-command/src/utils/wallet.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)
    /home/runner/work/aelf-command/aelf-command/test/constants.js 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%) 100.00% (+100.00%)

    @AbigailDeng AbigailDeng linked an issue Jun 26, 2024 that may be closed by this pull request
    2 tasks
    @hzz780 hzz780 merged commit 1350684 into feature/unit-test-all Jun 26, 2024
    2 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.

    aelf-command feature upgrade - add coverage diff git actions
    2 participants