-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improvements to Test Coverage #128
Conversation
class AppliesToTest extends TestCase | ||
{ | ||
/** @test */ | ||
public function can_get_array_of_options() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test (and the same test on LayoutType) should really be combined into a single test on BaseEnum
since that's where the code lives. There's no code in the actual enums themselves. so really don't need a distinct test case for any of them once the base is covered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kenny-MWI Could you make this update in a new PR? I'm going to go ahead and merge this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comment that can improve it, but its ok as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 🎹
This adds a few small tests to slightly improve test coverage. I wanted to add tests for Events and the methods in the TipoffPackage.php file but I'm not sure about the best way to do those. I'm going to switch my efforts over to the packages in the priority list instead.
Here's the test coverage report for this PR: