diff --git a/demo/java-demo/build.gradle b/demo/java-demo/build.gradle
index 7173314..c5e04cc 100644
--- a/demo/java-demo/build.gradle
+++ b/demo/java-demo/build.gradle
@@ -13,8 +13,8 @@ repositories {
dependencies {
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
- testImplementation('com.alibaba.testable:testable-all:0.5.0')
- testAnnotationProcessor('com.alibaba.testable:testable-processor:0.5.0')
+ testImplementation('com.alibaba.testable:testable-all:0.5.1')
+ testAnnotationProcessor('com.alibaba.testable:testable-processor:0.5.1')
}
tasks.withType(JavaCompile) {
diff --git a/demo/java-demo/pom.xml b/demo/java-demo/pom.xml
index 76fa4e0..139c4bb 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.5.0
+ 0.5.1
diff --git a/demo/kotlin-demo/build.gradle.kts b/demo/kotlin-demo/build.gradle.kts
index d1ffc77..00b5b22 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.5.0")
- testAnnotationProcessor("com.alibaba.testable:testable-processor:0.5.0")
+ testImplementation("com.alibaba.testable:testable-all:0.5.1")
+ testAnnotationProcessor("com.alibaba.testable:testable-processor:0.5.1")
}
tasks.withType {
diff --git a/demo/kotlin-demo/pom.xml b/demo/kotlin-demo/pom.xml
index e53e683..1c6f89c 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.5.0
+ 0.5.1
diff --git a/docs/en-us/doc/release-note.md b/docs/en-us/doc/release-note.md
index d1a366c..01c3ccd 100644
--- a/docs/en-us/doc/release-note.md
+++ b/docs/en-us/doc/release-note.md
@@ -1,5 +1,11 @@
# Release Note
+## 0.5.1
+- Use kotlin-style method descriptor in `VERBOSE` diagnose logs
+- Support parameterized test of JUnit 5
+- Fix an exception caused by method parameter with ternary operator
+- Fix a bug cause log message lost when `@MockWith` annotation used
+
## 0.4.12
- support verbose diagnose log for better self-troubleshooting
- support disable private access target existence check
diff --git a/docs/en-us/doc/setup.md b/docs/en-us/doc/setup.md
index 2534519..cd30766 100644
--- a/docs/en-us/doc/setup.md
+++ b/docs/en-us/doc/setup.md
@@ -16,7 +16,7 @@ It is recommended to add a `property` field that identifies the TestableMock ver
```xml
- 0.5.0
+ 0.5.1
```
@@ -63,8 +63,8 @@ Add dependence of `TestableMock` in `build.gradle` file:
```groovy
dependencies {
- testImplementation('com.alibaba.testable:testable-all:0.5.0')
- testAnnotationProcessor('com.alibaba.testable:testable-processor:0.5.0')
+ testImplementation('com.alibaba.testable:testable-all:0.5.1')
+ testAnnotationProcessor('com.alibaba.testable:testable-processor:0.5.1')
}
```
diff --git a/docs/en-us/doc/troubleshooting.md b/docs/en-us/doc/troubleshooting.md
index 580efc4..fac310b 100644
--- a/docs/en-us/doc/troubleshooting.md
+++ b/docs/en-us/doc/troubleshooting.md
@@ -50,7 +50,7 @@ class DemoTest {
}
```
-Executing the unit test again will print out the runtime-signatures of all mock methods, and the runtime-signatures of all invocations scanned in the class under test:
+Executing the unit test again will print out the signatures of all mock methods, and the signatures of all invocations scanned in the class under test:
```text
[DIAGNOSE] Handling test class com/alibaba/testable/demo/basic/DemoMockTest
diff --git a/docs/zh-cn/doc/release-note.md b/docs/zh-cn/doc/release-note.md
index 0da11e1..ca3e4d2 100644
--- a/docs/zh-cn/doc/release-note.md
+++ b/docs/zh-cn/doc/release-note.md
@@ -1,5 +1,11 @@
# Release Note
+## 0.5.1
+- 在`VERBOSE`级别诊断日志中使用更易于阅读的方法签名格式
+- 增加对JUnit5参数化测试的支持 (issue-98)
+- 修复在调用参数中包含三元表达式时的Mock异常(issue-92)
+- 修复使用`@MockWith`时,日志输出丢失的BUG (issue-99)
+
## 0.5.0
- 分离测试类与Mock类,实现Mock类和Mock方法的复用机制
- 支持测试类与被测类在不同包路径的情况下实施Mock
diff --git a/docs/zh-cn/doc/setup.md b/docs/zh-cn/doc/setup.md
index dc991ab..59d0aba 100644
--- a/docs/zh-cn/doc/setup.md
+++ b/docs/zh-cn/doc/setup.md
@@ -16,7 +16,7 @@
```xml
- 0.5.0
+ 0.5.1
```
@@ -63,8 +63,8 @@
```groovy
dependencies {
- testImplementation('com.alibaba.testable:testable-all:0.5.0')
- testAnnotationProcessor('com.alibaba.testable:testable-processor:0.5.0')
+ testImplementation('com.alibaba.testable:testable-all:0.5.1')
+ testAnnotationProcessor('com.alibaba.testable:testable-processor:0.5.1')
}
```
diff --git a/testable-agent/pom.xml b/testable-agent/pom.xml
index 9d8f798..7293725 100755
--- a/testable-agent/pom.xml
+++ b/testable-agent/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.5.0
+ 0.5.1
../testable-parent
testable-agent
diff --git a/testable-all/pom.xml b/testable-all/pom.xml
index 0c1cd89..b41e1ab 100644
--- a/testable-all/pom.xml
+++ b/testable-all/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.5.0
+ 0.5.1
../testable-parent
testable-all
diff --git a/testable-core/pom.xml b/testable-core/pom.xml
index 5aef413..43178b3 100644
--- a/testable-core/pom.xml
+++ b/testable-core/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.5.0
+ 0.5.1
../testable-parent
testable-core
diff --git a/testable-maven-plugin/pom.xml b/testable-maven-plugin/pom.xml
index 3979d07..4af7e1f 100644
--- a/testable-maven-plugin/pom.xml
+++ b/testable-maven-plugin/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.5.0
+ 0.5.1
../testable-parent
testable-maven-plugin
diff --git a/testable-parent/pom.xml b/testable-parent/pom.xml
index 8124121..68b64fc 100644
--- a/testable-parent/pom.xml
+++ b/testable-parent/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.alibaba.testable
testable-parent
- 0.5.0
+ 0.5.1
pom
testable-parent
Unit test enhancement toolkit
@@ -42,7 +42,7 @@
1.6
1.6.8
3.6.0
- 0.5.0
+ 0.5.1
diff --git a/testable-processor/pom.xml b/testable-processor/pom.xml
index f1526f0..27335c2 100644
--- a/testable-processor/pom.xml
+++ b/testable-processor/pom.xml
@@ -6,7 +6,7 @@
com.alibaba.testable
testable-parent
- 0.5.0
+ 0.5.1
../testable-parent
testable-processor