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

Remove all remaining direct AgentTestRunner usages #2196

Conversation

mateuszrzeszutek
Copy link
Member

Now everybody's forced to use AgentInstrumentationSpecification when testing agent instrumentations

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

niiice

*/
@SpecMetadata(filename = "AgentTestRunner.java", line = 0)
public abstract class AgentTestRunner extends Specification {
public final class AgentTestRunner {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be public? If yes, then some javadoc is needed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, do you mind if I do it in the next PR? I planned to make AgentTestRunner and InstrumentationTestRunner implement a common interface, put them in the java source set (and in the next next PR introduce a JUnit base class/extension) -- anyway, I'll place some Javadoc in the next step, when I completely refactor this class.

@mateuszrzeszutek mateuszrzeszutek merged commit facaf8e into open-telemetry:main Feb 5, 2021
@mateuszrzeszutek mateuszrzeszutek deleted the remove-all-remaining-direct-AgentTestRunner-usages branch February 5, 2021 15:24
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.

None yet

3 participants