ScalaNativeJUnitPlugin

class ScalaNativeJUnitPlugin extends StandardPlugin

The Scala Native JUnit plugin replaces reflection based test lookup.

For each JUnit test my.pkg.X, it generates a bootstrapper module/object my.pkg.X$scalanative$junit$bootstrapper implementing scala.scalanative.junit.Bootstrapper.

The test runner uses these objects to obtain test metadata and dispatch to relevant methods.

trait StandardPlugin
trait Plugin
class Object
trait Matchable
class Any

Value members

Concrete methods

def init(options: List[String]): List[PluginPhase]

Non-research plugins should override this method to return the phases

Non-research plugins should override this method to return the phases

Value parameters:
options:

commandline options to the plugin, -P:plugname:opt1,opt2 becomes List(opt1, opt2)

Returns:

a list of phases to be added to the phase plan

Inherited methods

Is this plugin a research plugin?

Is this plugin a research plugin?

Research plugin receives a phase plan and return a new phase plan, while non-research plugin returns a list of phases to be inserted.

Inherited from:
Plugin

Concrete fields

A one-line description of the plugin

A one-line description of the plugin

The name of this plugin

The name of this plugin

Inherited fields

A description of this plugin's options, suitable as a response to the -help command-line option. Conventionally, the options should be listed with the -P:plugname: part included.

A description of this plugin's options, suitable as a response to the -help command-line option. Conventionally, the options should be listed with the -P:plugname: part included.

Inherited from:
Plugin