release v0.6.2

This commit is contained in:
金戟
2021-04-07 21:38:24 +08:00
parent 74fbc5b53f
commit 5904ad99cb
16 changed files with 33 additions and 23 deletions

View File

@@ -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.1') testImplementation('com.alibaba.testable:testable-all:0.6.2')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.1') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.2')
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {

View File

@@ -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.1</testable.version> <testable.version>0.6.2</testable.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@@ -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.1") testImplementation("com.alibaba.testable:testable-all:0.6.2")
testAnnotationProcessor("com.alibaba.testable:testable-processor:0.6.1") testAnnotationProcessor("com.alibaba.testable:testable-processor:0.6.2")
} }
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {

View File

@@ -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.1</testable.version> <testable.version>0.6.2</testable.version>
</properties> </properties>
<dependencies> <dependencies>

View File

@@ -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.1') testImplementation('com.alibaba.testable:testable-all:0.6.2')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.1') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.2')
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {

View File

@@ -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.1</testable.version> <testable.version>0.6.2</testable.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>

View File

@@ -1,8 +1,13 @@
# Release Note # Release Note
## 0.6.2
- support setup global testable agent configure via properties file
- disable OmniConstructor bytecode enhancement by default
- fix a `Spring` framework compatibility issue with OmniConstructor
## 0.6.1 ## 0.6.1
- generate mock scanning log file automatically, for self-troubleshooting - generate mock scanning log file automatically, for self-troubleshooting
- fix a `Spock` test frame compatibility issue - fix a `Spock` test framework compatibility issue
- fix a `Gradle` unit test runtime compatibility issue - fix a `Gradle` unit test runtime compatibility issue
## 0.6.0 ## 0.6.0

View File

@@ -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.1</testable.version> <testable.version>0.6.2</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.1') testImplementation('com.alibaba.testable:testable-all:0.6.2')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.1') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.2')
} }
``` ```

View File

@@ -1,5 +1,10 @@
# Release Note # Release Note
## 0.6.2
- 支持通过Properties文件配置TestableAgent
- 默认禁用OmniConstructor相关的字节码增强
- 修复OmniConstructor与`Spring`框架的兼容问题issue-129
## 0.6.1 ## 0.6.1
- 自动生成Mock扫描过程日志文件便于自助排查问题 - 自动生成Mock扫描过程日志文件便于自助排查问题
- 修复一处`Spock`测试框架的兼容问题 (issue-121) - 修复一处`Spock`测试框架的兼容问题 (issue-121)

View File

@@ -16,7 +16,7 @@
```xml ```xml
<properties> <properties>
<testable.version>0.6.1</testable.version> <testable.version>0.6.2</testable.version>
</properties> </properties>
``` ```
@@ -63,8 +63,8 @@
```groovy ```groovy
dependencies { dependencies {
testImplementation('com.alibaba.testable:testable-all:0.6.1') testImplementation('com.alibaba.testable:testable-all:0.6.2')
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.1') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.2')
} }
``` ```

View File

@@ -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.1</version> <version>0.6.2</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-agent</artifactId> <artifactId>testable-agent</artifactId>

View File

@@ -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.1</version> <version>0.6.2</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-all</artifactId> <artifactId>testable-all</artifactId>

View File

@@ -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.1</version> <version>0.6.2</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-core</artifactId> <artifactId>testable-core</artifactId>

View File

@@ -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.1</version> <version>0.6.2</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-maven-plugin</artifactId> <artifactId>testable-maven-plugin</artifactId>

View File

@@ -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.1</version> <version>0.6.2</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.1</testable.version> <testable.version>0.6.2</testable.version>
</properties> </properties>
<profiles> <profiles>

View File

@@ -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.1</version> <version>0.6.2</version>
<relativePath>../testable-parent</relativePath> <relativePath>../testable-parent</relativePath>
</parent> </parent>
<artifactId>testable-processor</artifactId> <artifactId>testable-processor</artifactId>