Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Improvements to code coverage #32

Merged
merged 14 commits into from
Feb 21, 2017
Merged

Improvements to code coverage #32

merged 14 commits into from
Feb 21, 2017

Conversation

erunion
Copy link
Owner

@erunion erunion commented Feb 21, 2017

This adds a lot of improvements to the library code coverage, bringing it from around 75% to 99%.

screen shot 2017-02-20 at 10 01 37 pm

A lot of refactors have made to the annotating reading engine to make this possible, including extracting the ReflectionClass reading engine into a new Reader class. The Reader class handles pulling annotations off classes, methods, and within methods, for passing into the general Parser engine.

This allows us to easily mock the Reader provider/class, so instead of requiring us to have a grip of fixture files for the purpose of code coverage, we can now just pass a docblock of annotations into the reader.

And while this branch doesn't bring the library up to 100%, we're close enough to there that I can move on and onto fixing other bugs.

Fixes #28.

@erunion erunion added this to the v1.4 milestone Feb 21, 2017
@erunion erunion merged commit 74c3197 into 1.4 Feb 21, 2017
@erunion erunion deleted the code-coverage branch February 21, 2017 03:08
@erunion erunion modified the milestone: v1.4 Feb 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant