Impl
Attributes
- Source
- IntegrationTester.scala
- Graph
-
- Supertypes
- Known subtypes
-
class IntegrationTester
Members list
Type members
Classlikes
Attributes
- Source
- IntegrationTester.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Abstract methods
Attributes
- Source
- IntegrationTester.scala
Attributes
- Source
- IntegrationTester.scala
Concrete methods
Tears down the workspace at the end of a test run, shutting down any in-process Mill background servers
Tears down the workspace at the end of a test run, shutting down any in-process Mill background servers
Attributes
- Definition Classes
-
AutoCloseable
- Source
- IntegrationTester.scala
Attributes
- Source
- IntegrationTester.scala
Evaluates a Mill command. Essentially the same as os.call, except it provides the Mill executable and some test flags and environment variables for you, and wraps the output in a IntegrationTester.EvalResult for convenience.
Evaluates a Mill command. Essentially the same as os.call, except it provides the Mill executable and some test flags and environment variables for you, and wraps the output in a IntegrationTester.EvalResult for convenience.
Attributes
- Source
- IntegrationTester.scala
Helper method to modify a file containing text during your test suite.
Helper method to modify a file containing text during your test suite.
Attributes
- Source
- IntegrationTester.scala
Helpers to read the .json metadata files belonging to a particular task (specified by selector0) from the out/ folder.
Helpers to read the .json metadata files belonging to a particular task (specified by selector0) from the out/ folder.
Attributes
- Source
- IntegrationTester.scala
Prepares to evaluate a Mill command. Run it with IntegrationTester.PreparedEval.run or spawn it with IntegrationTester.PreparedEval.spawn.
Prepares to evaluate a Mill command. Run it with IntegrationTester.PreparedEval.run or spawn it with IntegrationTester.PreparedEval.spawn.
Useful when you need the IntegrationTester.PreparedEval.clues.
Attributes
- Source
- IntegrationTester.scala
Spawns a Mill command as a subprocess with automatic stdout/stderr capture.
Spawns a Mill command as a subprocess with automatic stdout/stderr capture.
Returns a SpawnedProcess that wraps the subprocess and captures all output. Each line printed to stdout/stderr is both captured in buffers and printed to console. If stdout or stderr are specified, they will be used instead of the automatic capture.
Attributes
- Source
- IntegrationTester.scala
Inherited methods
Initializes the workspace in preparation for integration testing
Initializes the workspace in preparation for integration testing
Attributes
- Inherited from:
- IntegrationTesterBase
- Source
- IntegrationTesterBase.scala
Attributes
- Inherited from:
- IntegrationTesterBase
- Source
- IntegrationTesterBase.scala
Remove any ID files to try and force them to exit
Remove any ID files to try and force them to exit
Attributes
- Inherited from:
- IntegrationTesterBase
- Source
- IntegrationTesterBase.scala
Inherited and Abstract methods
Attributes
- Inherited from:
- IntegrationTesterBase
- Source
- IntegrationTesterBase.scala
Attributes
- Inherited from:
- IntegrationTesterBase
- Source
- IntegrationTesterBase.scala
Abstract fields
Attributes
- Source
- IntegrationTester.scala
Inherited fields
The working directory of the integration test suite, which is the root of the Mill build being tested. Contains the build.mill file, any application code, and the out/ folder containing the build output
The working directory of the integration test suite, which is the root of the Mill build being tested. Contains the build.mill file, any application code, and the out/ folder containing the build output
Each integration test that runs in the same baseWorkspacePath is given a new folder for isolation purposes; even though we try our best to clean up the processes and files from each Mill run, it still doesn't work 100%, and re-using the same folder can cause non-deterministic interference and flakiness
Attributes
- Inherited from:
- IntegrationTesterBase
- Source
- IntegrationTesterBase.scala
Inherited and Abstract fields
Attributes
- Inherited from:
- IntegrationTesterBase
- Source
- IntegrationTesterBase.scala