SamplingVsInstrumentation
SamplingVsInstrumentation copied to clipboard
Launch configurations for Eclipse
Particularly, the InstrumentedDemoRunner should be launchable out of the box.
I would not like to include such launch configurations. they break all the time. Also please use separate branches for PRs, otherwise subsequent PRs will contain older commits.
It's your decision to include something or not, as it's your repository :-)
As an alternative to commit launch configurations, it is possible to generate them (InstrumentedDemoRunner is the only relevent one) by having a corresponding pom.xml-entry, so everything is in one place, and the launch configuration is generated only when using Eclipse.
An other alternative would be to go without the runner classes at all, and instead using JUnit. In this case, the AspectJ-agent can be set through the surefire-plugin. Drawback: The "tests" have to be run via Maven.