Skip to content

Commit

Permalink
Prepared release 0.4.1, updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Jun 9, 2021
1 parent e04b424 commit e5d5f15
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
= mill-integrationtest - Integration test plugin for mill plugins
:version: 0.4.0
:version: 0.4.1
:mill-platform: 0.9
:scala-platform: 2.13
:mill-version: 0.9.3
:min-mill-version: 0.6.2
:exampleMillVersion: 0.9.3
:example-mill-version: 0.9.8
:project-home: https://github.com/lefou/mill-integrationtest
:scoverage-version: 1.4.1
:munit-version: 0.7.7
Expand All @@ -20,7 +19,7 @@ Integration testing for mill plugins.

== Quickstart

Here we assume, you use mill {mill-version} and develop a mill plugin named `demo`
Here we assume, you use mill {example-mill-version} and develop a mill plugin named `demo`

[source,scala]
----
Expand All @@ -45,7 +44,7 @@ object demo extends ScalaModule with PublishModule {
object itest extends MillIntegrationTestModule {
def millTestVersion = "{exampleMillVersion}"
def millTestVersion = "{example-mill-version}"
def pluginsUnderTest = Seq(demo)
Expand Down Expand Up @@ -128,6 +127,10 @@ The `MillIntegrationTestModule` trait provides the following targets:
Locations where integration tests are located.
Each integration test is a sub-directory, containing a complete test mill project.

* `perTestResources: Sources` -
Shared test resources, will be copied as-is into each test case working directory before the test is run.
You can also generate these, making some test setups easier (e.g. including additional classpath resources).

* `def testCases: Target[Seq[PathRef]]` -
The directories each representing a mill test case.
Derived from `sources`.
Expand Down Expand Up @@ -426,6 +429,7 @@ Newer version of mill may or may not work. (Feel free to update this page via a
[options="header"]
|===
| mill-integrationtest | mill
| 0.4.1 | 0.6.2 - 0.9.8
| 0.4.0 | 0.6.2 - 0.9.8
| 0.3.3 | 0.6.2 - 0.8.0
| 0.3.2 | 0.6.2 - 0.8.0
Expand Down Expand Up @@ -461,6 +465,12 @@ I also accept {project-home}/pulls[pull requests on GitHub].

== Changelog

=== mill-integrationtest 0.4.1 - 2021-06-09

* Improved output, esp. in error case
* Added new `perTestResources` target
* Work around binary compatibility issues with mill 0.9.7

=== mill-integrationtest 0.4.0 - 2020-11-30

* Added support for mill 0.9.3 while maintaining backward-compatible versions down to mill 0.6.2
Expand Down

0 comments on commit e5d5f15

Please sign in to comment.