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

Code Coverage: Branches #368

Open
3 of 7 tasks
theschitz opened this issue Apr 16, 2022 · 2 comments
Open
3 of 7 tasks

Code Coverage: Branches #368

theschitz opened this issue Apr 16, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@theschitz
Copy link
Collaborator

theschitz commented Apr 16, 2022

Code coverage is looking really good. But the testing of branches is falling behind so we should make an effort to try and raise that number a bit.

Low hanging fruits

Not so low hanging fruit

The ALObject and Documentation parts might require special consideration

  • ALObject

    • src/ALObject/ALPagePart.ts
  • Documentation
    -src/Documentation.ts.

@theschitz theschitz added the enhancement New feature or request label Apr 16, 2022
@jwikman
Copy link
Owner

jwikman commented Apr 16, 2022

Good idea!

But I believe that ALObject & Documentation should be quite easy to fix, since you've added the documentation files test. We "only" need to create all different kinds of AL files and do a manual verification that the generated .md files are correct. Then your existing test will verify that we don't get any regressions.

That would at least be a way to get a very high coverage on the documentation parts. Coverage on objects and parsing will probably get high as well, but not completely verified since Documentation does not output everything...

@jwikman
Copy link
Owner

jwikman commented Apr 16, 2022

I'll take a closer look at the src/Documentation.ts part to see if I could improve that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants