AJ Alt
01/23/2020, 10:12 PMsam
01/23/2020, 10:14 PMVitali Plagov
01/27/2020, 2:44 PMkotest-extensions-allure
for Allure Report framework with Kotlintest?
https://github.com/kotlintest/kotlintest/tree/master/kotest-extensions/kotest-extensions-allure
This module is missing documentation…AJ Alt
01/30/2020, 7:14 PMsam
01/30/2020, 7:19 PMAJ Alt
02/03/2020, 9:40 PMsam
02/03/2020, 9:41 PMsam
02/03/2020, 9:41 PMSam Garfinkel
02/12/2020, 5:15 PMSam Garfinkel
02/12/2020, 5:19 PMbeOfType(expected: KClass<*>)
which does this, so I guess you can just use shouldBe beOfType(clazz)
Mike
02/12/2020, 5:30 PMactual shouldBe expected
format vs expect(actual) shouldBe expected
format required by the other two.LeoColman
02/12/2020, 5:31 PMMike
02/12/2020, 5:33 PMLeoColman
02/12/2020, 5:34 PMMike
02/12/2020, 5:38 PMevents.shouldContainAll(OrderPlaced(pricedOrder))
just tells me that Collection should contain all
and then does toString()
on all the items in the expected collection.
Feature Request required here? I know it's not easy to do this, so not surprised if it hasn't been done yet.Ashish Kumar Joy
02/12/2020, 6:19 PMMike
02/12/2020, 6:54 PMtaer
02/13/2020, 9:23 PMassertAll(Gen.string(), <http://Gen.int|Gen.int>())
call, which loses the context. I've temporarily wrapped the suspend call in a runBlocking, but any advice on how to address that?dave08
02/16/2020, 3:41 PMcontext
, is it expected that only the first one gets run?dave08
02/16/2020, 3:47 PMdave08
02/16/2020, 3:54 PMsam
02/16/2020, 6:47 PMsam
02/16/2020, 6:49 PMsam
02/16/2020, 6:54 PMKavita
10/02/2020, 5:27 PMMockWebSerever
& Awaitility
to handle API mocking & async operation.
The .gradle
file also has Android Orchestrator & clearPackageData declared.
Still, the issue persists.
Can someone help me to fix this issue?iamthevoid
04/28/2021, 11:52 AMcommonTest
module
val commonTest by getting {
dependencies {
// shared test code because tests placed in features
implementation(project(":lib:shared-test"))
// kotlin deps
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
// ktor test dep to mock responses
implementation(Dependencies.Ktor.testing)
}
}
then i’ve add simple test
import kotlin.test.Test
import kotlin.test.assertEquals
class TestCase {
@Test
fun test() {
assertEquals(3, 1 + 2)
}
}
But when I try run it i am getting
e: TestCase.kt: (3, 20): Unresolved reference: Test
e: TestCase.kt: (4, 20): Unresolved reference: assertEquals
e: TestCase.kt: (16, 6): Unresolved reference: Test
e: TestCase.kt: (18, 9): Unresolved reference: assertEquals
and message test events were not received
Why can it be?Alexander Weickmann
01/25/2023, 3:14 PMHariharasudhan D
07/11/2023, 9:26 AMKashismails
04/18/2024, 10:43 AMpitpit
09/26/2024, 4:00 PMkotlin.UninitializedPropertyAccessException: lateinit property scene has not been initialized
When i run desktopTest for composeUiTest
It's fixed after upgrade compose plugin to 1.7.0-beta02 but it broke unit test that access Res. and robolectric.
(Android context is not initialized. If it happens in the Preview mode then call PreviewContextConfigurationEffect() function
.) (modifié)