|
TestingAPI
Mycila Testing APIMycila is composed of several APIs serving different users:
For Mycila usersYou are lucky, you don't have to know anything except how to use the plugins you want to use and also which class to extend / use as a runner for your test:
See corresponding entries on the left menu. Advanced usage If you want to configure the PluginManager (i.e. you only want to load for a test the PluginA), you will have to annotate your test with @MycilaPlugins and a method with @ConfigureMycilaPlugins. Basically, @MycilaPlugins enables you to control which plugin descriptor to use (to isolate your plugin when testing) and this annotation enables you to configure per-test the PluginManager. If you want to define your own plugin at runtime like this example, you'll have to annotate your configuration method with @ConfigureMycilaPlugins. For integration in test frameworksTo integrate Mycila in another testing framework, you can have a look on the integration wiki page. For Plugin developersPlease see the section How to Create Plugins | |