Skip to content

Commit a6aca88

Browse files
committed
Merge branch 'release/3.1.0'
2 parents 2f078e5 + 8e71d6f commit a6aca88

File tree

51 files changed

+1192
-474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1192
-474
lines changed

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gradle
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
assignees:
9+
- radarsh
10+
ignore:
11+
- dependency-name: net.bytebuddy:byte-buddy
12+
versions:
13+
- 1.10.19
14+
- 1.10.20
15+
- 1.10.21
16+
- dependency-name: org.fusesource.jansi:jansi
17+
versions:
18+
- 2.2.0
19+
- 2.3.1
20+
- dependency-name: com.github.kt3k.coveralls
21+
versions:
22+
- 2.10.2

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# Changelog
22

3+
## [v3.1.0](https://github.com/radarsh/gradle-test-logger-plugin/tree/v3.1.0) (2021-11-02)
4+
5+
[Full Changelog](https://github.com/radarsh/gradle-test-logger-plugin/compare/v3.0.0...v3.1.0)
6+
7+
**Implemented enhancements:**
8+
9+
- Disable all output in CI environment [\#224](https://github.com/radarsh/gradle-test-logger-plugin/issues/224)
10+
- Indicate nested tests [\#146](https://github.com/radarsh/gradle-test-logger-plugin/issues/146)
11+
12+
**Fixed bugs:**
13+
14+
- NoSuchMethodError: org.gradle.api.provider.Provider.forUseAtConfigurationTime\(\) [\#225](https://github.com/radarsh/gradle-test-logger-plugin/issues/225)
15+
- OutOfMemoryError while collecting test output even when disabled [\#213](https://github.com/radarsh/gradle-test-logger-plugin/issues/213)
16+
- Top level class is not logged [\#204](https://github.com/radarsh/gradle-test-logger-plugin/issues/204)
17+
- Hierarchical tests do not output all levels [\#141](https://github.com/radarsh/gradle-test-logger-plugin/issues/141)
18+
19+
**Closed issues:**
20+
21+
- Upgrade to Gradle 7.2 [\#226](https://github.com/radarsh/gradle-test-logger-plugin/issues/226)
22+
- Add support for @ParameterizedTest with @MethodSource [\#125](https://github.com/radarsh/gradle-test-logger-plugin/issues/125)
23+
24+
**Merged pull requests:**
25+
26+
- Bump byte-buddy from 1.11.20 to 1.11.22 [\#236](https://github.com/radarsh/gradle-test-logger-plugin/pull/236) ([dependabot[bot]](https://github.com/apps/dependabot))
27+
- Add Twitter badge [\#235](https://github.com/radarsh/gradle-test-logger-plugin/pull/235) ([radarsh](https://github.com/radarsh))
28+
- Support nested tests [\#234](https://github.com/radarsh/gradle-test-logger-plugin/pull/234) ([radarsh](https://github.com/radarsh))
29+
- Bump byte-buddy from 1.11.19 to 1.11.20 [\#231](https://github.com/radarsh/gradle-test-logger-plugin/pull/231) ([dependabot[bot]](https://github.com/apps/dependabot))
30+
- Bump byte-buddy from 1.11.18 to 1.11.19 [\#230](https://github.com/radarsh/gradle-test-logger-plugin/pull/230) ([dependabot[bot]](https://github.com/apps/dependabot))
31+
- Bump com.gradle.plugin-publish from 0.14.0 to 0.16.0 [\#229](https://github.com/radarsh/gradle-test-logger-plugin/pull/229) ([dependabot[bot]](https://github.com/apps/dependabot))
32+
- Fix OutOfMemoryError due to output collector [\#228](https://github.com/radarsh/gradle-test-logger-plugin/pull/228) ([radarsh](https://github.com/radarsh))
33+
- Upgrade to Gradle 7.2 [\#227](https://github.com/radarsh/gradle-test-logger-plugin/pull/227) ([radarsh](https://github.com/radarsh))
34+
- Bump jansi from 2.3.2 to 2.3.4 [\#222](https://github.com/radarsh/gradle-test-logger-plugin/pull/222) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
35+
- Upgrade to GitHub-native Dependabot [\#206](https://github.com/radarsh/gradle-test-logger-plugin/pull/206) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
36+
- Bump com.github.kt3k.coveralls from 2.11.0 to 2.12.0 [\#202](https://github.com/radarsh/gradle-test-logger-plugin/pull/202) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
37+
- Bump com.gradle.plugin-publish from 0.13.0 to 0.14.0 [\#201](https://github.com/radarsh/gradle-test-logger-plugin/pull/201) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
38+
339
## [v3.0.0](https://github.com/radarsh/gradle-test-logger-plugin/tree/v3.0.0) (2021-04-01)
440

541
[Full Changelog](https://github.com/radarsh/gradle-test-logger-plugin/compare/v2.1.1...v3.0.0)

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Gradle Test Logger Plugin
2-
[![CircleCI branch](https://img.shields.io/circleci/project/github/radarsh/gradle-test-logger-plugin/develop.svg?label=circleci+build)](https://circleci.com/gh/radarsh/gradle-test-logger-plugin/tree/develop)
3-
[![AppVeyor branch](https://img.shields.io/appveyor/ci/radarsh/gradle-test-logger-plugin/develop.svg?label=appveyor+build)](https://ci.appveyor.com/project/radarsh/gradle-test-logger-plugin/branch/develop)
4-
[![Coveralls branch](https://img.shields.io/coveralls/radarsh/gradle-test-logger-plugin/develop.svg)](https://coveralls.io/github/radarsh/gradle-test-logger-plugin?branch=develop)
5-
[![Gradle plugin portal](https://img.shields.io/github/tag/radarsh/gradle-test-logger-plugin.svg?label=gradle+plugin+portal)](https://plugins.gradle.org/plugin/com.adarshr.test-logger)
6-
[![License](https://img.shields.io/github/license/radarsh/gradle-test-logger-plugin.svg)](https://github.com/radarsh/gradle-test-logger-plugin/blob/develop/LICENSE)
2+
3+
[![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/com.adarshr.test-logger?label=version&style=flat-square&logo=gradle)](https://plugins.gradle.org/plugin/com.adarshr.test-logger)
4+
[![CircleCI branch](https://img.shields.io/circleci/build/github/radarsh/gradle-test-logger-plugin/develop?label=circleci&style=flat-square&logo=circleci)](https://circleci.com/gh/radarsh/gradle-test-logger-plugin/tree/develop)
5+
[![AppVeyor branch](https://img.shields.io/appveyor/build/radarsh/gradle-test-logger-plugin/develop?label=appveyor&style=flat-square&logo=appveyor)](https://ci.appveyor.com/project/radarsh/gradle-test-logger-plugin/branch/develop)
6+
[![Coveralls branch](https://img.shields.io/coveralls/github/radarsh/gradle-test-logger-plugin/develop?&style=flat-square&logo=coveralls)](https://coveralls.io/github/radarsh/gradle-test-logger-plugin?branch=develop)
7+
[![License](https://img.shields.io/github/license/radarsh/gradle-test-logger-plugin?style=flat-square&logo=apache)](https://github.com/radarsh/gradle-test-logger-plugin/blob/develop/LICENSE)
8+
[![Twitter Follow](https://img.shields.io/twitter/follow/radarsh?label=%40radarsh&logo=twitter&style=flat-square)](https://twitter.com/intent/follow?screen_name=radarsh)
79

810
A Gradle plugin for printing beautiful logs on the console while running tests.
911

@@ -25,7 +27,7 @@ Scroll down for more themes and customisation options or visit the [screenshots
2527

2628
```groovy
2729
plugins {
28-
id 'com.adarshr.test-logger' version '3.0.0'
30+
id 'com.adarshr.test-logger' version '3.1.0'
2931
}
3032
```
3133

@@ -39,7 +41,7 @@ buildscript {
3941
}
4042
}
4143
dependencies {
42-
classpath 'com.adarshr:gradle-test-logger-plugin:3.0.0'
44+
classpath 'com.adarshr:gradle-test-logger-plugin:3.1.0'
4345
}
4446
}
4547
@@ -52,7 +54,7 @@ apply plugin: 'com.adarshr.test-logger'
5254
|---------------------|-----------------------------|
5355
| 1.x | 4.x |
5456
| 2.x | 5.x |
55-
| 3.x | 6.x |
57+
| 3.x | 6.5 |
5658

5759
## Configuration
5860

build.gradle

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
dependencies {
3-
classpath 'org.fusesource.jansi:jansi:2.3.2'
3+
classpath 'org.fusesource.jansi:jansi:2.4.0'
4+
classpath localGroovy()
45
}
56
}
67

@@ -10,8 +11,8 @@ plugins {
1011
id 'maven-publish'
1112
id 'idea'
1213
id 'jacoco'
13-
id 'com.gradle.plugin-publish' version '0.13.0'
14-
id 'com.github.kt3k.coveralls' version '2.11.0'
14+
id 'com.gradle.plugin-publish' version '0.16.0'
15+
id 'com.github.kt3k.coveralls' version '2.12.0'
1516
}
1617

1718
def thisPlugin =
@@ -39,22 +40,18 @@ sourceSets {
3940
dependencies {
4041
implementation gradleApi()
4142
implementation localGroovy()
42-
implementation 'org.fusesource.jansi:jansi:1.18'
43+
implementation 'org.fusesource.jansi:jansi:2.4.0'
4344

4445
testImplementation gradleTestKit()
45-
testImplementation('org.spockframework:spock-core:1.3-groovy-2.5') {
46-
exclude module: 'groovy-all'
47-
}
48-
testImplementation 'net.bytebuddy:byte-buddy:1.10.22'
46+
testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0'
47+
testImplementation 'net.bytebuddy:byte-buddy:1.11.22'
4948
testImplementation 'org.objenesis:objenesis:3.2'
50-
testImplementation 'commons-io:commons-io:2.8.0'
49+
testImplementation 'commons-io:commons-io:2.11.0'
5150

5251
functionalTestImplementation localGroovy()
5352
functionalTestImplementation gradleTestKit()
54-
functionalTestImplementation('org.spockframework:spock-core:1.3-groovy-2.5') {
55-
exclude module: 'groovy-all'
56-
}
57-
functionalTestImplementation 'commons-io:commons-io:2.6'
53+
functionalTestImplementation 'org.spockframework:spock-core:2.0-groovy-3.0'
54+
functionalTestImplementation 'commons-io:commons-io:2.11.0'
5855
}
5956

6057
gradlePlugin {
@@ -73,6 +70,8 @@ idea {
7370
}
7471

7572
test {
73+
useJUnitPlatform()
74+
7675
testClassesDirs += sourceSets.functionalTest.output.classesDirs
7776
classpath += sourceSets.functionalTest.runtimeClasspath
7877
systemProperty 'file.encoding', 'UTF-8'
@@ -85,6 +84,8 @@ test {
8584
}
8685

8786
task functionalTest(type: Test) {
87+
useJUnitPlatform()
88+
8889
inputs.dir "$projectDir/src/test-functional/resources"
8990
maxParallelForks = 2
9091
testClassesDirs = sourceSets.functionalTest.output.classesDirs

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=3.0.0
1+
version=3.1.0
22
group=com.adarshr
33
org.gradle.daemon=true
44
org.gradle.caching=false

gradle/coverage.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jacocoTestReport {
66
executionData "${project.buildDir}/jacoco/test.exec", "${project.buildDir}/jacoco/functionalTest.exec"
77

88
reports {
9-
xml.enabled = true
10-
html.enabled = true
9+
xml.required = true
10+
html.required = true
1111
}
1212
}

gradle/wrapper/gradle-wrapper.jar

333 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)