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 that could get some coverage #3181

Open
8 of 16 tasks
304NotModified opened this issue Mar 17, 2019 · 3 comments
Open
8 of 16 tasks

Code that could get some coverage #3181

304NotModified opened this issue Mar 17, 2019 · 3 comments

Comments

@304NotModified
Copy link
Member

304NotModified commented Mar 17, 2019

Parts with some lower test coverage

@aerotog
Copy link
Contributor

aerotog commented Oct 20, 2019

The TypeConverter class, LogLevelTypeConverter, has 88% code coverage via the test LogLevelConvertTest in LogLevelTests. I don't see it in your coverage report so I'm wondering if it actually need more coverage added or if it could already be considered complete. I suppose it might benefit to move the test into its own dedicated test class to make the coverage more obvious.

Also, could you elaborate on what the these requested test cases mean:

  • (easy) ValueFormatter coverage
    • render null
    • handle cycle

@304NotModified
Copy link
Member Author

304NotModified commented Oct 20, 2019

The TypeConverter class, LogLevelTypeConverter, has 88% code coverage via the test LogLevelConvertTest in LogLevelTests. I don't see it in your coverage report so I'm wondering if it actually need more coverage added or if it could already be considered complete. I suppose it might benefit to move the test into its own dedicated test class to make the coverage more obvious.

I have to check that, maybe it's done already indeed.

Also, could you elaborate on what the these requested test cases mean:

  • (easy) ValueFormatter coverage

    • render null
    • handle cycle

null prints "NULL", and objects with recursion (cycles) will rendered correctly (and not infinite looping).

Thanks in advance!

@aerotog
Copy link
Contributor

aerotog commented Oct 21, 2019

Took the two easy ones. I might come back and try some other classes later this week.

@snakefoot snakefoot removed the easy label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants