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

refactor(test): update test layout #15

Merged
merged 2 commits into from
May 14, 2024
Merged

refactor(test): update test layout #15

merged 2 commits into from
May 14, 2024

Conversation

aquariuslt
Copy link
Contributor

Change Information

  • 更新测试代码布局,在 test 目录下保留 unit/lib/integration 文件夹,test 根目录
  • 更新测试函数命名,使其符合 test_, testFuzz_ 等 sol 测试规范

@aquariuslt aquariuslt requested a review from 0xashu May 14, 2024 05:54
@aquariuslt
Copy link
Contributor Author

LCOV of commit fc0d148 during coverage #19

Summary coverage rate:
  lines......: 88.7% (141 of 159 lines)
  functions..: 81.2% (39 of 48 functions)
  branches...: 73.2% (41 of 56 branches)

Files changed coverage rate:
                                                    |Lines       |Functions  |Branches    
  Filename                                          |Rate     Num|Rate    Num|Rate     Num
  ========================================================================================
  contracts/core/aggregator/AaveYieldAggregator.sol |70.4%     27|83.3%    12|50.0%     12

@aquariuslt
Copy link
Contributor Author

Total Coverage: 88.54%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
contracts/core
   MestERC1155.sol100%100%100%
   MestSharesFactoryV1.sol83.33%83.33%94.38%149, 149, 150, 150, 158, 338, 340, 83, 83, 83, 83, 84, 84, 84, 92, 92
contracts/core/aggregator
   AaveYieldAggregator.sol50%76.92%70.37%108, 109, 109, 30, 30, 31, 31, 33, 33, 34, 34, 36, 36, 37, 37, 41, 54, 54, 62, 64, 74, 75
   BlankYieldAggregator.sol50%33.33%50%15, 15, 16, 16, 20, 20, 20, 35, 35, 43, 43, 53, 55
contracts/lib
   BondingCurveLib.sol83.33%100%100%33

@aquariuslt aquariuslt self-assigned this May 14, 2024
@aquariuslt aquariuslt merged commit e654cc9 into value4value:dev May 14, 2024
4 checks passed
@aquariuslt aquariuslt deleted the refactor/update-test-layout branch May 14, 2024 06:33
0xashu pushed a commit that referenced this pull request May 14, 2024
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.

2 participants