This pr resolves #27 by refactoring code such that the following unexpected code coverage gaps are closed. The result is higher coverage at the expense of test code that I think is more cumbersome to maintain.
Static methods used to retrieve data or format data inside test classes were moved into TestService as instance methods, necessitating the instantiation of a TestService instance within each test method
Inner classes inside test classes were moved into other non-test classes
All @testSetup methods were removed, with the setup code copied and pasted into test methods themselves either entirely or via a call to a test class-specific instance method inside TestService
This pr resolves #27 by refactoring code such that the following unexpected code coverage gaps are closed. The result is higher coverage at the expense of test code that I think is more cumbersome to maintain.
TestService
as instance methods, necessitating the instantiation of aTestService
instance within each test method@testSetup
methods were removed, with the setup code copied and pasted into test methods themselves either entirely or via a call to a test class-specific instance method insideTestService