mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-04 09:20:37 +08:00
release v0.6.4
This commit is contained in:
parent
9f5867ed76
commit
9924d7d2fc
@ -13,8 +13,8 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
|
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
|
||||||
testImplementation('com.alibaba.testable:testable-all:0.6.3')
|
testImplementation('com.alibaba.testable:testable-all:0.6.4')
|
||||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.3')
|
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.4')
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
<junit.version>5.6.2</junit.version>
|
<junit.version>5.6.2</junit.version>
|
||||||
<testable.version>0.6.3</testable.version>
|
<testable.version>0.6.4</testable.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -16,8 +16,8 @@ dependencies {
|
|||||||
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
|
||||||
testImplementation("com.alibaba.testable:testable-all:0.6.3")
|
testImplementation("com.alibaba.testable:testable-all:0.6.4")
|
||||||
testAnnotationProcessor("com.alibaba.testable:testable-processor:0.6.3")
|
testAnnotationProcessor("com.alibaba.testable:testable-processor:0.6.4")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<KotlinCompile> {
|
tasks.withType<KotlinCompile> {
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
<junit.version>5.6.2</junit.version>
|
<junit.version>5.6.2</junit.version>
|
||||||
<testable.version>0.6.3</testable.version>
|
<testable.version>0.6.4</testable.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -14,8 +14,8 @@ repositories {
|
|||||||
dependencies {
|
dependencies {
|
||||||
testImplementation 'org.codehaus.groovy:groovy-all:3.0.7'
|
testImplementation 'org.codehaus.groovy:groovy-all:3.0.7'
|
||||||
testImplementation 'org.spockframework:spock-core:2.0-M5-groovy-3.0'
|
testImplementation 'org.spockframework:spock-core:2.0-M5-groovy-3.0'
|
||||||
testImplementation('com.alibaba.testable:testable-all:0.6.3')
|
testImplementation('com.alibaba.testable:testable-all:0.6.4')
|
||||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.3')
|
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.4')
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
<testable.version>0.6.3</testable.version>
|
<testable.version>0.6.4</testable.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
# Release Note
|
# Release Note
|
||||||
|
|
||||||
|
## 0.6.4
|
||||||
|
- `TestableNull` class removed, let `OmniConstructor` even lighter
|
||||||
|
- support `@Nested` annotation of JUnit 5
|
||||||
|
- fix several `OmniConstructor` compatibility issues(thanks to [@ddatsh](https://github.com/ddatsh))
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
- support custom inner `Mock` class name
|
- support custom inner `Mock` class name
|
||||||
- support skip specified packages from `OmniConstructor` enhancement
|
- support skip specified packages from `OmniConstructor` enhancement
|
||||||
|
@ -16,7 +16,7 @@ It is recommended to add a `property` field that identifies the TestableMock ver
|
|||||||
|
|
||||||
```xml
|
```xml
|
||||||
<properties>
|
<properties>
|
||||||
<testable.version>0.6.3</testable.version>
|
<testable.version>0.6.4</testable.version>
|
||||||
</properties>
|
</properties>
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -63,8 +63,8 @@ Add dependence of `TestableMock` in `build.gradle` file:
|
|||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation('com.alibaba.testable:testable-all:0.6.3')
|
testImplementation('com.alibaba.testable:testable-all:0.6.4')
|
||||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.3')
|
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.4')
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
# Release Note
|
# Release Note
|
||||||
|
|
||||||
|
## 0.6.4
|
||||||
|
- 移除`TestableNull`类型,让`OmniConstructor`更轻量
|
||||||
|
- 支持JUnit 5的`@Nested`注解(issue-140)
|
||||||
|
- 修复多处`OmniConstructor`的兼容性BUG(感谢[@ddatsh](https://github.com/ddatsh))
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
- 支持自定义内部Mock容器类名(issue-137)
|
- 支持自定义内部Mock容器类名(issue-137)
|
||||||
- 支持自定义`OmniConstructor`字节码增强范围
|
- 支持自定义`OmniConstructor`字节码增强范围
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
```xml
|
```xml
|
||||||
<properties>
|
<properties>
|
||||||
<testable.version>0.6.3</testable.version>
|
<testable.version>0.6.4</testable.version>
|
||||||
</properties>
|
</properties>
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -63,8 +63,8 @@
|
|||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation('com.alibaba.testable:testable-all:0.6.3')
|
testImplementation('com.alibaba.testable:testable-all:0.6.4')
|
||||||
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.3')
|
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.4')
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.alibaba.testable</groupId>
|
<groupId>com.alibaba.testable</groupId>
|
||||||
<artifactId>testable-parent</artifactId>
|
<artifactId>testable-parent</artifactId>
|
||||||
<version>0.6.3</version>
|
<version>0.6.4</version>
|
||||||
<relativePath>../testable-parent</relativePath>
|
<relativePath>../testable-parent</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>testable-agent</artifactId>
|
<artifactId>testable-agent</artifactId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.alibaba.testable</groupId>
|
<groupId>com.alibaba.testable</groupId>
|
||||||
<artifactId>testable-parent</artifactId>
|
<artifactId>testable-parent</artifactId>
|
||||||
<version>0.6.3</version>
|
<version>0.6.4</version>
|
||||||
<relativePath>../testable-parent</relativePath>
|
<relativePath>../testable-parent</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>testable-all</artifactId>
|
<artifactId>testable-all</artifactId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.alibaba.testable</groupId>
|
<groupId>com.alibaba.testable</groupId>
|
||||||
<artifactId>testable-parent</artifactId>
|
<artifactId>testable-parent</artifactId>
|
||||||
<version>0.6.3</version>
|
<version>0.6.4</version>
|
||||||
<relativePath>../testable-parent</relativePath>
|
<relativePath>../testable-parent</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>testable-core</artifactId>
|
<artifactId>testable-core</artifactId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.alibaba.testable</groupId>
|
<groupId>com.alibaba.testable</groupId>
|
||||||
<artifactId>testable-parent</artifactId>
|
<artifactId>testable-parent</artifactId>
|
||||||
<version>0.6.3</version>
|
<version>0.6.4</version>
|
||||||
<relativePath>../testable-parent</relativePath>
|
<relativePath>../testable-parent</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>testable-maven-plugin</artifactId>
|
<artifactId>testable-maven-plugin</artifactId>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.alibaba.testable</groupId>
|
<groupId>com.alibaba.testable</groupId>
|
||||||
<artifactId>testable-parent</artifactId>
|
<artifactId>testable-parent</artifactId>
|
||||||
<version>0.6.3</version>
|
<version>0.6.4</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>testable-parent</name>
|
<name>testable-parent</name>
|
||||||
<description>Unit test enhancement toolkit</description>
|
<description>Unit test enhancement toolkit</description>
|
||||||
@ -42,7 +42,7 @@
|
|||||||
<plugin.gpg.version>1.6</plugin.gpg.version>
|
<plugin.gpg.version>1.6</plugin.gpg.version>
|
||||||
<plugin.staging.version>1.6.8</plugin.staging.version>
|
<plugin.staging.version>1.6.8</plugin.staging.version>
|
||||||
<plugin.maven.version>3.6.0</plugin.maven.version>
|
<plugin.maven.version>3.6.0</plugin.maven.version>
|
||||||
<testable.version>0.6.3</testable.version>
|
<testable.version>0.6.4</testable.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.alibaba.testable</groupId>
|
<groupId>com.alibaba.testable</groupId>
|
||||||
<artifactId>testable-parent</artifactId>
|
<artifactId>testable-parent</artifactId>
|
||||||
<version>0.6.3</version>
|
<version>0.6.4</version>
|
||||||
<relativePath>../testable-parent</relativePath>
|
<relativePath>../testable-parent</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>testable-processor</artifactId>
|
<artifactId>testable-processor</artifactId>
|
||||||
|
Loading…
Reference in New Issue
Block a user