Skip to content

Conversation

@pesse
Copy link
Member

@pesse pesse commented Feb 11, 2018

ReporterFactory is now a singleton with the ability to register/unregister new reporters.
Therefore it's easy to inject new reporters which are then available to the factory.
Reporters which are injected should always contain a description.

Adds progress to #8
Although there should be some improvements in cli to make it easy to include custom (java-)reporters

ReporterFactory is now a singleton. One can register its own reporters with a given name. The name is independent from the Oracle Object-Name.

That way it is very easy to add a slightly different behaviour to an existing base reporter in java
Because that's very valuable information. We like valuable information.
We gather them. And eat them. And grow.
@pesse
Copy link
Member Author

pesse commented Feb 14, 2018

Not yet finished - changes of utPLSQL/utPLSQL#589 must be implemented before

pesse added 23 commits February 27, 2018 22:39
so it works with the new core reporter objects.
Made purpose of several classes more clear, updated some methods to match with core
also allow delayed instantiation of Reporters in TestRunner
Maybe we can overcome this by an empty placeholder file. There might be
a different way, but atm I don't have a clue how that could look
@pesse pesse merged commit 0a13dd1 into develop Mar 11, 2018
@pesse pesse mentioned this pull request Mar 20, 2018
@jgebal jgebal deleted the feature/refactor_reporter_api branch June 14, 2020 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants