-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to see failures summarized at the end #11
Comments
Gradle 4.4.3 is quite old. This plugin is only targeting 6.x |
oh, I misspoke. I meant I am using Kotest 4.4.3 and Gradle 6.8.2. |
So like a section that sums it up ? |
Here is a use case, 4 tests, 2 per Class are run. The first one is good with both tests passing, the second one has 2 assertions in 1 test fail (reported together via softAsserts), the second test in the file just has one assert fail, shows correctly.
I was expecting the the summary at the end to list the assertions that failed, like in the readme.md screengrabs. Just wondering if my expectations are off or there is something I am not doing correctly, for them to now show up. |
I get you.
Good idea I'll add it.
…On Thu, 25 Mar 2021, 16:05 Reza Malik, ***@***.***> wrote:
Here is a use case, 4 tests, 2 per Class are run.
The first one is good with both tests passing, the second one has 3
assertions in 1 test fail (reported together via softAsserts), the second
test in the file just has one assert fail, shows correctly.
2. testy.TestClass2
+ Account created via endpoint
+ for user2
+ on Internal Endpoint
- returns the correct response and passes data validation OK (1411ms)
+ on Gateway Endpoint
- returns the correct response and passes data validation OK (1577ms)
3. testy.TestClass1
+ Account created via endpoint
+ for user 1
+ on Internal Endpoint
- returns the correct response and passes data validation FAILED (1303ms)
The following 2 assertions failed:
1) expected:<"FAILED"> but was:<"SUCCESS">
at testy.TestClass1$1$1$2$1$1.invokeSuspend(TestClass1.kt:82)
2) expected:<"FAILED"> but was:<"SUCCESS">
at testy.TestClass1$1$1$2$1$1.invokeSuspend(TestClass1.kt:84)
<... stack trace here>
+ on Gateway Endpoint
- returns the correct response and passes data validation FAILED (1579ms)
expected:<"FAILED"> but was:<"SUCCESS">
<... stack trace here>
>> There were test failures
testy.TestClass1
- Account created via endpoint for user 1 on Internal Endpoint returns the correct response and passes data validation
- Account created via endpoint for user 1 on Gateway Endpoint returns the correct response and passes data validation
Specs: 2 passed, 1 failed, 3 total
Tests: 2 passed, 2 failed, 0 ignored, 4 total
Time: 27s
> Task :kotest FAILED
FAILURE: Build failed with an exception.
I was expecting the the summary at the end to list the assertions that
failed, like in the readme.md screengrabs. Just wondering if my
expectations are off or there is something I am not doing correctly, for
them to now show up.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFVSGWO5CPTQRQCROQ53J3TFOQRBANCNFSM4ZBBWYLA>
.
|
@sksamuel Hey Sam. Is this something that is available now or will be soon? |
I am not seeing failures summarized at the end of the test runs. I am using this with Gradle 4.4.3 though. Is this something that would work only with Gradle version specified in the README?
The text was updated successfully, but these errors were encountered: