AndroidJUnit
Attributes
- Graph
-
- Supertypes
-
trait AndroidTestModuletrait TestModuletrait TaskModuletrait RunModuletrait WithZincWorkertrait JavaModuleBasetrait BspModuletrait Moduletrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Attributes
- Inherited from:
- Module
- Supertypes
-
class Internalclass Objecttrait Matchableclass Any
Value members
Concrete methods
TODO this probably does not sit well with the idea of a test framework
TODO this probably does not sit well with the idea of a test framework
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- RunModule
Use to fill most fields of BuildTarget
.
Use to populate the BuildTarget.{dataKind,data}
fields.
Use to populate the BuildTarget.{dataKind,data}
fields.
Mill specific implementations:
Attributes
- Inherited from:
- BspModule
Attributes
- Inherited from:
- BspModule
Attributes
- Inherited from:
- BspModule
The name of the default command, which will be automatically executed if the module name is provided at the Mill command line.
The name of the default command, which will be automatically executed if the module name is provided at the Mill command line.
Attributes
- Definition Classes
-
TestModule -> TaskModule
- Inherited from:
- TestModule
Attributes
- Inherited from:
- TestModule
Attributes
- Inherited from:
- RunModule
Attributes
- Inherited from:
- RunModule
Any command-line parameters you want to pass to the forked JVM.
Any command-line parameters you want to pass to the forked JVM.
Attributes
- Inherited from:
- RunModule
Any environment variables you want to pass to the forked JVM.
Attributes
- Inherited from:
- RunModule
Attributes
- Inherited from:
- TestModule
Attributes
- Inherited from:
- JavaModuleBase
Builds a command-line "launcher" file that can be used to run this module's code, without the Mill process. Useful for deployment & other places where you do not want a build tool running
Builds a command-line "launcher" file that can be used to run this module's code, without the Mill process. Useful for deployment & other places where you do not want a build tool running
Attributes
- Inherited from:
- RunModule
The elements of the run classpath which are local to this module. This is typically the output of a compilation step and bundles runtime resources.
The elements of the run classpath which are local to this module. This is typically the output of a compilation step and bundles runtime resources.
Attributes
- Inherited from:
- RunModule
Allows you to specify an explicit main class to use for the run
command. If none is specified, the classpath is searched for an appropriate main class to use if one exists.
Allows you to specify an explicit main class to use for the run
command. If none is specified, the classpath is searched for an appropriate main class to use if one exists.
Attributes
- Inherited from:
- RunModule
Attributes
- Inherited from:
- BaseClass
Attributes
- Inherited from:
- Module
Attributes
- Inherited from:
- Module
Attributes
- Inherited from:
- Module
Attributes
- Inherited from:
- JavaModuleBase
Runs this module's code in a subprocess and waits for it to finish
Runs this module's code in a subprocess and waits for it to finish
Attributes
- Inherited from:
- RunModule
If true, stdout and stderr of the process executed by runBackground
or runMainBackground
is sent to mill's stdout/stderr (which usually flow to the console).
If true, stdout and stderr of the process executed by runBackground
or runMainBackground
is sent to mill's stdout/stderr (which usually flow to the console).
If false, output will be directed to files stdout.log
and stderr.log
in runBackground.dest
(or runMainBackground.dest
)
Attributes
- Inherited from:
- RunModule
Attributes
- Inherited from:
- RunModule
Attributes
- Inherited from:
- RunModule
All classfiles and resources including upstream modules and dependencies necessary to run this module's code.
All classfiles and resources including upstream modules and dependencies necessary to run this module's code.
Attributes
- Inherited from:
- RunModule
Runs this module's code in a subprocess and waits for it to finish
Runs this module's code in a subprocess and waits for it to finish
Attributes
- Inherited from:
- RunModule
Runs this module's code in-process within an isolated classloader. This is faster than run
, but in exchange you have less isolation between runs since the code can dirty the parent Mill process and potentially leave it in a bad state.
Runs this module's code in-process within an isolated classloader. This is faster than run
, but in exchange you have less isolation between runs since the code can dirty the parent Mill process and potentially leave it in a bad state.
Attributes
- Inherited from:
- RunModule
Attributes
- Inherited from:
- RunModule
Same as run
, but lets you specify a main class to run
Same as runBackground
, but lets you specify a main class to run
Same as runBackground
, but lets you specify a main class to run
Attributes
- Inherited from:
- RunModule
Same as runLocal
, but lets you specify a main class to run
Control whether run*
-targets should use an args file to pass command line args, if possible.
Control whether run*
-targets should use an args file to pass command line args, if possible.
Attributes
- Inherited from:
- RunModule
Discovers and runs the module's tests in a subprocess, reporting the results to the console. If no input has changed since the last run, no test were executed.
Discovers and runs the module's tests in a subprocess, reporting the results to the console. If no input has changed since the last run, no test were executed.
Attributes
- See also
- Inherited from:
- TestModule
Args to be used by testCached.
The classpath containing the tests. This is most likely the output of the compilation target. By default, this uses the result of localRunClasspath, which is most likely the result of a local compilation.
The classpath containing the tests. This is most likely the output of the compilation target. By default, this uses the result of localRunClasspath, which is most likely the result of a local compilation.
Attributes
- Inherited from:
- TestModule
How the test classes in this module will be split into multiple JVM processes and run in parallel during testing. Defaults to all of them running in one process sequentially, but can be overridden to split them into separate groups that run in parallel.
How the test classes in this module will be split into multiple JVM processes and run in parallel during testing. Defaults to all of them running in one process sequentially, but can be overridden to split them into separate groups that run in parallel.
Attributes
- Inherited from:
- TestModule
Discovers and runs the module's tests in a subprocess, reporting the results to the console.
Discovers and runs the module's tests in a subprocess, reporting the results to the console.
Attributes
- See also
- Inherited from:
- TestModule
Discovers and runs the module's tests in-process in an isolated classloader, reporting the results to the console
Discovers and runs the module's tests in-process in an isolated classloader, reporting the results to the console
Attributes
- Inherited from:
- TestModule
Discovers and runs the module's tests in a subprocess, reporting the results to the console. Arguments before "--" will be used as wildcard selector to select test classes, arguments after "--" will be passed as regular arguments. testOnly *foo foobar bar* -- arguments
will test only classes with name (includes package name) 1. end with "foo", 2. exactly "foobar", 3. start with "bar", with "arguments" as arguments passing to test framework.
Discovers and runs the module's tests in a subprocess, reporting the results to the console. Arguments before "--" will be used as wildcard selector to select test classes, arguments after "--" will be passed as regular arguments. testOnly *foo foobar bar* -- arguments
will test only classes with name (includes package name) 1. end with "foo", 2. exactly "foobar", 3. start with "bar", with "arguments" as arguments passing to test framework.
Attributes
- Inherited from:
- TestModule
Sets the file name for the generated JUnit-compatible test report. If None is set, no file will be generated.
Sets the file name for the generated JUnit-compatible test report. If None is set, no file will be generated.
Attributes
- Inherited from:
- TestModule
Whether to use the test task destination folder as the working directory when running tests. true
means test subprocess run in the .dest/sandbox
folder of the test task, providing better isolation and encouragement of best practices (e.g. not reading/writing stuff randomly from the project source tree). false
means the test subprocess runs in the project root folder, providing weaker isolation.
Whether to use the test task destination folder as the working directory when running tests. true
means test subprocess run in the .dest/sandbox
folder of the test task, providing better isolation and encouragement of best practices (e.g. not reading/writing stuff randomly from the project source tree). false
means the test subprocess runs in the project root folder, providing weaker isolation.
Attributes
- Inherited from:
- TestModule
Controls whether the TestRunner should receive its arguments via an args-file instead of a long parameter list. Defaults to what runUseArgsFile
return.
Controls whether the TestRunner should receive its arguments via an args-file instead of a long parameter list. Defaults to what runUseArgsFile
return.
Attributes
- Inherited from:
- TestModule
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Module -> Any
- Inherited from:
- Module
Attributes
- Inherited from:
- WithZincWorker
Inherited and Abstract methods
Attributes
- Inherited from:
- TestModule
Implicits
Inherited implicits
Attributes
- Inherited from:
- Module