Commit Graph

3316 Commits

Author SHA1 Message Date
Robert Stoll
bfe04f4ecf Merge pull request #953 from robstoll/#292-show-only-failing-iterable-too-many-elements
#292 show only failing for inOrder.only if more than 10 elements
2021-07-12 22:52:25 +02:00
Robert Stoll
f6375b1ca9 #292 show only failing for inOrder.only if more than 10 elements
I decided that I will apply a default heuristic so that (I hope) most
users don't have to change reporting options.
2021-07-12 22:33:31 +02:00
Robert Stoll
aa259d7926 Merge pull request #952 from robstoll/notToContainDuplicates
rename notToContainDuplicates to toHaveElementsAndNoDuplicates
2021-07-10 15:19:02 +02:00
Robert Stoll
2275e64159 rename notToContainDuplicates to toHaveElementsAndNoDuplicates
because we actually check if the Iterable has a next element and thus
it is better to be more explicit in naming.
2021-07-10 14:52:13 +02:00
Robert Stoll
7fffc534df Merge pull request #951 from robstoll/fix-feature-extraction-empty-feature
show representation for failure in feature extraction if subject defined
2021-07-07 09:22:24 +02:00
Robert Stoll
1f1f0a50ca show representation for failure in feature extraction if subject defined
or in case failure hints or sub-assertions are defined.
2021-07-06 22:40:23 +02:00
Edward Hou
1a8e024a7b Make Iterable.all and Iterable.containsNoDuplicates use hasNext (#939) 2021-07-06 20:37:40 +02:00
Robert Stoll
ce5d124e70 Merge pull request #949 from robstoll/to-plus-infinitive
renaming resultAssertions to consistent to + infitinive naming schema
2021-07-06 14:53:17 +02:00
Robert Stoll
d43b37e004 deprecate resultAssertions, use new ...Expectations in api-infix 2021-07-05 21:54:02 +02:00
Robert Stoll
a804fa4658 rename resultAssertion functions to new schema in api-infix 2021-07-05 21:49:23 +02:00
Robert Stoll
37ab84e394 deprecate resultAssertions, use new ...Expectations in api-fluent 2021-07-05 21:17:37 +02:00
Robert Stoll
ee9f26a5c6 rename resultAssertion functions to new schema in api-fluent 2021-07-05 21:17:36 +02:00
Robert Stoll
787d258ae1 add TODO for 0.18.0 collectForComposition should return flag
the flag would indicate whether the assertionCreator did not create an
assertion, this way we don't have to collect twice just to know this.
2021-07-03 15:04:09 +02:00
dependabot[bot]
88303219f2 Bump org.jetbrains.kotlin.jvm from 1.5.10 to 1.5.20 in /samples/jvm/spek
Bumps org.jetbrains.kotlin.jvm from 1.5.10 to 1.5.20.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-03 14:55:33 +02:00
Robert Stoll
8df47073e1 Merge pull request #938 from wordhou/fail-explanatory-group-on-empty-assertionCreator
Fail explanatory assertion group on empty assertionCreator
2021-07-03 14:44:34 +02:00
Ed
568a1bf988 Suppress deprecation warning for ExplanatoryAssertionGroupFinalStep 2021-06-30 18:15:30 -07:00
dependabot[bot]
5c86df680e Bump org.jetbrains.kotlin.js from 1.5.10 to 1.5.20 in /samples/js
Bumps org.jetbrains.kotlin.js from 1.5.10 to 1.5.20.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:44:19 +02:00
dependabot[bot]
52dfeedc18 Bump org.jetbrains.kotlin.jvm in /samples/jvm/junit5
Bumps org.jetbrains.kotlin.jvm from 1.5.10 to 1.5.20.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:34:18 +02:00
dependabot[bot]
0135dd7edb Bump org.jetbrains.kotlin.multiplatform in /samples/multiplatform
Bumps org.jetbrains.kotlin.multiplatform from 1.5.10 to 1.5.20.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.multiplatform
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:34:13 +02:00
dependabot[bot]
2b01c60d83 Bump kotlin.version from 1.5.10 to 1.5.20 in /samples/maven
Bumps `kotlin.version` from 1.5.10 to 1.5.20.

Updates `kotlin-stdlib-jdk8` from 1.5.10 to 1.5.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.10...v1.5.20)

Updates `kotlin-reflect` from 1.5.10 to 1.5.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.10...v1.5.20)

Updates `kotlin-maven-plugin` from 1.5.10 to 1.5.20

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:33:52 +02:00
Ed
45519af5f5 Note use of deprecated type with TODO 2021-06-21 16:03:02 -07:00
Ed
17c726012b Make collectAssertions fail with empty assertionsCreator lambda 2021-06-21 16:01:25 -07:00
Robert Stoll
5a2dce49a2 fix case 2021-06-17 09:44:48 +02:00
Robert Stoll
6419adf60d adjust good_first_issue template 2021-06-17 09:42:17 +02:00
Robert Stoll
c33d049246 Merge pull request #941 from dias-wagner/dias-wagner/infix-chrono-expectations-samples
Add ChronoLocalDate, ChronoLocalDateTime and ChronoZonedDateTime expe…
2021-06-17 09:31:35 +02:00
Wagner Dias
7d0a5d471f Add ChronoLocalDate, ChronoLocalDateTime and ChronoZonedDateTime expectation samples for the infix api 2021-06-16 14:32:32 -03:00
Wagner Dias
1ad5639cee Add samples for chronoZonedDateTimeExpectations of api-fluent (#916) (#940) 2021-06-14 08:43:41 +02:00
Ed
d923d416d1 Fail explanatory assertion group on empty assertionCreator 2021-06-11 09:40:59 -07:00
dependabot[bot]
e73e465870 Bump glob-parent from 5.1.0 to 5.1.2 in /gradle
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.0 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.0...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 10:29:24 +02:00
Edward Hou
dac885bc6e More consise reporting for contains.atLeast(1) (#934) 2021-06-11 07:53:05 +02:00
Wagner Dias
9d97be5f3e add samples for chronoLocalDateTimeExpectations of api-fluent #915 (#935) 2021-06-09 17:18:08 +02:00
robstoll
4b7feffbe8 generate README examples 2021-06-09 09:20:45 +02:00
Edward Hou
91fad2624c Make notToContain less verbose and show mismatched indices (#931) 2021-06-09 09:16:57 +02:00
Robert Stoll
4d3acdbc9b Merge pull request #932 from dias-wagner/dias-wagner/#914-chronoLocalDateExpectations-samples
Add samples for chronoLocalDateExpectations of api-fluent (#914)
2021-06-07 06:36:57 +02:00
Wagner Dias
20c6a68d33 Add samples for chronoLocalDateExpectations of api-fluent (#914) 2021-06-06 12:29:18 -03:00
Bacho Kurtanidze
7c829ce7f9 complete path expectation samples (#930) 2021-06-04 11:17:31 +02:00
Bacho Kurtanidze
9fe122f39f add MapAssertionSamples.kt in infix module (#912) 2021-06-03 09:46:41 +02:00
Robert Stoll
8dccdac310 Merge pull request #929 from robstoll/MapEntyAssertionSamples
Map enty assertion samples
2021-05-31 12:54:53 +02:00
Robert Stoll
b913776218 link to sample of isKeyValue and other cleanup 2021-05-31 12:15:23 +02:00
Bacho Kurtanidze
37b8749566 add MapEntyAssertionSamples in infix package (#911) 2021-05-31 12:08:22 +02:00
Robert Stoll
e786141e57 Merge pull request #928 from robstoll/cleanup-append
rename appendAssertion/CreatedBy to append and appendAsGroup
2021-05-29 21:41:54 +02:00
Robert Stoll
f67cd01e38 rename appendAssertion/CreatedBy to append and appendAsGroup
This way we can use it also on ProofContainer and users won't notice
anything as long as they recompile
2021-05-29 21:22:55 +02:00
dependabot[bot]
ac0424c1bc Bump kotlin.version from 1.5.0 to 1.5.10 in /samples/maven
Bumps `kotlin.version` from 1.5.0 to 1.5.10.

Updates `kotlin-stdlib-jdk8` from 1.5.0 to 1.5.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.0...v1.5.10)

Updates `kotlin-reflect` from 1.5.0 to 1.5.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.0...v1.5.10)

Updates `kotlin-maven-plugin` from 1.5.0 to 1.5.10

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 20:36:40 +02:00
dependabot[bot]
595b6ae433 Bump org.jetbrains.kotlin.jvm in /samples/jvm/junit5
Bumps org.jetbrains.kotlin.jvm from 1.5.0 to 1.5.10.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 20:12:09 +02:00
dependabot[bot]
4389aba80c Bump org.jetbrains.kotlin.multiplatform in /samples/multiplatform
Bumps org.jetbrains.kotlin.multiplatform from 1.5.0 to 1.5.10.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 20:12:03 +02:00
dependabot[bot]
9f5f17eec7 Bump org.jetbrains.kotlin.jvm from 1.5.0 to 1.5.10 in /samples/jvm/spek
Bumps org.jetbrains.kotlin.jvm from 1.5.0 to 1.5.10.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 20:11:55 +02:00
dependabot[bot]
81153438c4 Bump org.jetbrains.kotlin.js from 1.5.0 to 1.5.10 in /samples/js
Bumps org.jetbrains.kotlin.js from 1.5.0 to 1.5.10.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 20:11:44 +02:00
Robert Stoll
1a220fcfa4 Merge pull request #921 from robstoll/to-plus-infinitive
update README examples to the `to + infinitive` schema
2021-05-23 21:46:06 +02:00
Robert Stoll
5da01b789b update README examples to the to + infinitive schema 2021-05-22 23:40:39 +02:00
Robert Stoll
ed0bed3c1d Merge pull request #920 from robstoll/to-plus-infinitive
renaming pathAssertions to consistent to + infitinive naming schema
2021-05-22 23:40:22 +02:00