diff --git a/demo/java-demo/build.gradle b/demo/java-demo/build.gradle index 7346440..06b0cbf 100644 --- a/demo/java-demo/build.gradle +++ b/demo/java-demo/build.gradle @@ -12,8 +12,8 @@ repositories { dependencies { testImplementation('org.junit.jupiter:junit-jupiter:5.6.2') - testImplementation('com.alibaba.testable:testable-all:0.3.3-SNAPSHOT') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.3.3-SNAPSHOT') + testImplementation('com.alibaba.testable:testable-all:0.4.0') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.0') } test { diff --git a/demo/java-demo/pom.xml b/demo/java-demo/pom.xml index 1b239ca..a6fab71 100644 --- a/demo/java-demo/pom.xml +++ b/demo/java-demo/pom.xml @@ -12,7 +12,7 @@ 1.8 1.8 5.6.2 - 0.3.3-SNAPSHOT + 0.4.0 diff --git a/demo/kotlin-demo/build.gradle.kts b/demo/kotlin-demo/build.gradle.kts index 6dd62a6..131b70d 100644 --- a/demo/kotlin-demo/build.gradle.kts +++ b/demo/kotlin-demo/build.gradle.kts @@ -16,8 +16,8 @@ dependencies { implementation("org.jetbrains.kotlin:kotlin-reflect") implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") testImplementation("org.junit.jupiter:junit-jupiter:5.6.2") - testImplementation("com.alibaba.testable:testable-all:0.3.3-SNAPSHOT") - testAnnotationProcessor("com.alibaba.testable:testable-processor:0.3.3-SNAPSHOT") + testImplementation("com.alibaba.testable:testable-all:0.4.0") + testAnnotationProcessor("com.alibaba.testable:testable-processor:0.4.0") } tasks.withType { diff --git a/demo/kotlin-demo/pom.xml b/demo/kotlin-demo/pom.xml index 57ad248..c333717 100644 --- a/demo/kotlin-demo/pom.xml +++ b/demo/kotlin-demo/pom.xml @@ -14,7 +14,7 @@ 1.8 1.8 5.6.2 - 0.3.3-SNAPSHOT + 0.4.0 diff --git a/docs/zh-cn/doc/release-note.md b/docs/zh-cn/doc/release-note.md index 296fd03..d4db5a2 100644 --- a/docs/zh-cn/doc/release-note.md +++ b/docs/zh-cn/doc/release-note.md @@ -1,5 +1,11 @@ # Release Note +## 0.4.0 +- fix a jvm 9+ compatibility issue cause by default classloader change +- fix a conflict issue when testcase name duplicated between different class +- refactor code structure, module `testable-all` added +- separate constant definition from `TestableTool` to `TestableConst` + ## 0.3.2 - support grable project for both private member access and quick mock - support access private static field and methods via PrivateAccessor diff --git a/docs/zh-cn/doc/setup.md b/docs/zh-cn/doc/setup.md index fca198b..1927ae4 100644 --- a/docs/zh-cn/doc/setup.md +++ b/docs/zh-cn/doc/setup.md @@ -15,7 +15,7 @@ ```xml - 0.3.2 + 0.4.0 ``` @@ -68,9 +68,8 @@ ```groovy dependencies { - testImplementation('com.alibaba.testable:testable-processor:0.3.2') - testAnnotationProcessor('com.alibaba.testable:testable-processor:0.3.2') - testRuntimeOnly('com.alibaba.testable:testable-agent:0.3.2') + testImplementation('com.alibaba.testable:testable-all:0.4.0') + testAnnotationProcessor('com.alibaba.testable:testable-processor:0.4.0') } ``` diff --git a/testable-agent/pom.xml b/testable-agent/pom.xml index 78a5a86..c6c8549 100755 --- a/testable-agent/pom.xml +++ b/testable-agent/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.3.3-SNAPSHOT + 0.4.0 ../testable-parent testable-agent diff --git a/testable-all/pom.xml b/testable-all/pom.xml index 7b51329..e754bd8 100644 --- a/testable-all/pom.xml +++ b/testable-all/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.3.3-SNAPSHOT + 0.4.0 ../testable-parent testable-all diff --git a/testable-core/pom.xml b/testable-core/pom.xml index d0406e5..62be5d1 100644 --- a/testable-core/pom.xml +++ b/testable-core/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.3.3-SNAPSHOT + 0.4.0 ../testable-parent testable-core diff --git a/testable-maven-plugin/pom.xml b/testable-maven-plugin/pom.xml index ba34f71..1044fad 100644 --- a/testable-maven-plugin/pom.xml +++ b/testable-maven-plugin/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.3.3-SNAPSHOT + 0.4.0 ../testable-parent testable-maven-plugin diff --git a/testable-parent/pom.xml b/testable-parent/pom.xml index b4da310..e0d48f4 100644 --- a/testable-parent/pom.xml +++ b/testable-parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.alibaba.testable testable-parent - 0.3.3-SNAPSHOT + 0.4.0 pom testable-parent Unit test enhancement toolkit @@ -42,7 +42,7 @@ 1.6 1.6.8 3.6.0 - 0.3.3-SNAPSHOT + 0.4.0 diff --git a/testable-processor/pom.xml b/testable-processor/pom.xml index 465d605..2777227 100644 --- a/testable-processor/pom.xml +++ b/testable-processor/pom.xml @@ -6,7 +6,7 @@ com.alibaba.testable testable-parent - 0.3.3-SNAPSHOT + 0.4.0 ../testable-parent testable-processor