Compare commits

...
4 Commits
Author SHA1 Message Date
KKlochko 32bd931afc Update the CI/CD configuration to publish the artifacts to the release.
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-10-19 13:29:58 +03:00
KKlochko 29b11f454f Update the CHANGELOG. 2023-10-19 13:29:27 +03:00
KKlochko ec1053741e Update the version. 2023-10-19 13:28:36 +03:00
KKlochko d5dbf2942d Fix the validators's test have two variant of the order for methods.
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-10-19 09:35:45 +03:00
6 changed files with 52 additions and 6 deletions
+34
View File
@@ -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: {}
+12
View File
@@ -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
+2 -2
View File
@@ -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
View File
@@ -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 {
+1 -1
View File
@@ -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>
@@ -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"