Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32bd931afc | ||
|
|
29b11f454f | ||
|
|
ec1053741e | ||
|
|
d5dbf2942d |
+34
@@ -18,7 +18,41 @@ name: maven
|
||||
steps:
|
||||
- name: test
|
||||
image: maven:3.9.4-eclipse-temurin-17-alpine
|
||||
volumes:
|
||||
- name: package_cache
|
||||
path: /root/.m2/
|
||||
commands:
|
||||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
- mvn test -B
|
||||
|
||||
- name: build
|
||||
image: maven:3.9.4-eclipse-temurin-17-alpine
|
||||
volumes:
|
||||
- name: package_cache
|
||||
path: /root/.m2/
|
||||
commands:
|
||||
- mvn package -Dmaven.test.skip=true
|
||||
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: API_KEY
|
||||
base_url:
|
||||
from_secret: BASE_URL
|
||||
files:
|
||||
- target/*.jar
|
||||
checksum:
|
||||
- md5
|
||||
- sha1
|
||||
- sha256
|
||||
- sha512
|
||||
- adler32
|
||||
- crc32
|
||||
when:
|
||||
event: tag
|
||||
|
||||
volumes:
|
||||
- name: package_cache
|
||||
temp: {}
|
||||
|
||||
|
||||
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.13.4] - 2023-30-19
|
||||
|
||||
### Changed
|
||||
- Update the version.
|
||||
- Update the CHANGELOG.
|
||||
- Update the CI/CD configuration to publish the artifacts to the release.
|
||||
|
||||
## [0.13.3] - 2023-30-19
|
||||
|
||||
### Fixed
|
||||
- Fix the validators's test have two variant of the order for methods.
|
||||
|
||||
## [0.13.2] - 2023-30-18
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -31,7 +31,7 @@ Type: build
|
||||
Type: run with asserts
|
||||
|
||||
```shell
|
||||
java -ea -jar ./build/libs/simple_jbdd-0.13.2-all.jar
|
||||
java -ea -jar ./build/libs/simple_jbdd-0.13.4-all.jar
|
||||
```
|
||||
|
||||
## Building with Maven
|
||||
@@ -54,7 +54,7 @@ Type: build
|
||||
Type: run with asserts
|
||||
|
||||
```shell
|
||||
java -ea -jar ./target/simple_jbdd-0.13.2.jar
|
||||
java -ea -jar ./target/simple_jbdd-0.13.4.jar
|
||||
```
|
||||
|
||||
## Building with Maven
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
||||
}
|
||||
|
||||
version = "0.13.2"
|
||||
version = "0.13.4"
|
||||
description = "simple-jbdd is a simple BDD testing framework for Java."
|
||||
|
||||
application {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>space.kklochko</groupId>
|
||||
<artifactId>simple_jbdd</artifactId>
|
||||
<version>0.13.2</version>
|
||||
<version>0.13.4</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>simple-jbdd</name>
|
||||
|
||||
|
||||
+2
-2
@@ -49,11 +49,11 @@ class IntegratedValidatorsSpec extends Specification {
|
||||
def message = validator.getMessage()
|
||||
|
||||
then: "The message must be expected"
|
||||
message == expectedMessage
|
||||
message ==~ expectedMessage
|
||||
|
||||
where: "Possible variants of tests"
|
||||
validator | testClass || expectedMessage
|
||||
new HasMethodsWithArgumentsValidator() | HasMethodArgumentsTest.class || "ERROR!!! Methods must have no arguments!!! Check methods: given, setupArguments!!!"
|
||||
new HasMethodsWithArgumentsValidator() | HasMethodArgumentsTest.class || "ERROR!!! Methods must have no arguments!!! Check methods: (given|setupArguments), (given|setupArguments)!!!"
|
||||
new HasMethodsWithArgumentsValidator() | SimpleGivenWhenThenTest.class || "ok"
|
||||
new HasNonVoidMethodsValidator() | HasNonVoidMethodTest.class || "ERROR!!! Methods must have the void type!!! Check methods: then!!!"
|
||||
new HasMethodsWithArgumentsValidator() | SimpleGivenWhenThenTest.class || "ok"
|
||||
|
||||
Reference in New Issue
Block a user