Class DynamicFeaturesLoader

java.lang.Object
org.nuxeo.runtime.test.runner.DynamicFeaturesLoader

public class DynamicFeaturesLoader extends Object
API that allows RunnerFeature to contribute dynamically a dependant RunnerFeature to the test framework. This is accomplished by creating a constructor that has DynamicFeaturesLoader as parameter.
public class MyFeature implements RunnerFeature {

    public MyFeature(DynamicFeaturesLoader loader) {
        loader.loadFeature(MyOtherFeature.class);
    }
}
Since:
2025.0
Implementation Note:
This is a simple POJO that the internal loader will take into account when loading features into the test framework
  • Field Details

  • Constructor Details

    • DynamicFeaturesLoader

      public DynamicFeaturesLoader()
  • Method Details