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

forge coverage seems can not coverage the library test #2826

Closed
1 of 2 tasks
KittyFu307 opened this issue Aug 18, 2022 · 1 comment
Closed
1 of 2 tasks

forge coverage seems can not coverage the library test #2826

KittyFu307 opened this issue Aug 18, 2022 · 1 comment
Labels
C-forge Command: forge Cmd-forge-coverage Command: forge coverage T-bug Type: bug

Comments

@KittyFu307
Copy link

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (e385736 2022-08-13T00:08:48.145581Z)

What command(s) is the bug in?

forge coverage

Operating System

macOS (Apple Silicon)

Describe the bug

  • I have written several custom libraries, all the functions in them are of internal type, but when running forge coverage, the coverage of library is 0%.
  • Is there any way to exclude mocks from forge coverage?

截屏2022-08-18 上午10 37 23

@KittyFu307 KittyFu307 added the T-bug Type: bug label Aug 18, 2022
@rkrasiuk rkrasiuk added C-forge Command: forge Cmd-forge-coverage Command: forge coverage labels Aug 18, 2022
@rkrasiuk
Copy link
Collaborator

duplicate of #2567

@rkrasiuk rkrasiuk closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-forge Command: forge Cmd-forge-coverage Command: forge coverage T-bug Type: bug
Projects
Archived in project
Development

No branches or pull requests

2 participants