Skip to content

3. Proposed Changes to Beandetection to ease Testcreation

Andreas Schörk edited this page Oct 22, 2018 · 3 revisions
  • ExcludedClasses-Annotation should allow to solve Ambiguous dependencies
  • ActivatedAlternatives (or enabledAlternativeStereoTypes) should prevent the validation of the replaced beans
    • to prevent ambiguous dependencies
    • to avoid the necessity to handle further dependencies exclusively connected with the replaced beans. Like further injects, further necessary classpaths, ...
  • @Mock should also work effectivly in "helping" Testbeans.
  • Injects by Producermethod-parameters or Constructor-Parameters should also be recognized.
  • Producers should only be recognized if they contribute to solve injection-problems.