igor.wojda
08/01/2017, 12:10 PMnatpryce
08/10/2017, 2:32 PMsnodge-3
version 5.0.0) https://github.com/npryce/snodgejackmiras
08/11/2017, 3:34 PMmemoized
and the standard delegates from Kotlin?pkazm
08/30/2017, 10:26 AMClass not found: <test class path> Empty test suite.
JRE is configured to be 1.8 (which is default for my module), also JUnit 4.12.
Do you have any suggestions to what I could’ve missed?khanhbkqt
10/16/2017, 9:23 AMtianhao
10/16/2017, 12:28 PMroberto.guerra
10/16/2017, 4:15 PMartem_zin
10/19/2017, 11:57 AMmockito-kotlin
https://github.com/nhaarman/mockito-kotlin/blob/916f186df947d3b69b14b1f5dc286555dc625549/mockito-kotlin/src/main/kotlin/com/nhaarman/mockito_kotlin/ArgumentCaptor.kt#L32yousuf.haque
01/22/2018, 5:47 PMpatjackson52
01/29/2018, 2:27 AMEugen Martynov
02/12/2018, 5:11 PMverify(analyticsMock).reportEvent(BUDGETS_EDIT_EVENT_NAME, true)
Hugo
03/07/2018, 10:12 AMcodyoss
05/25/2018, 8:16 PMmarkusa
05/30/2018, 4:28 PMkotlin.test
? What the assertions test result in different outcomes on different platformsKatie Levy
06/07/2018, 4:25 PMghedeon
06/09/2018, 10:05 PMghedeon
06/10/2018, 10:20 AMhastebrot
06/13/2018, 10:48 PMorg.jetbrains.kotlin:kotlin-test-junit5:1.2.50
dependency for JUnit 5.pablisco
06/20/2018, 2:03 PMaandreyev
07/12/2018, 1:42 PMjakubgruber
07/16/2018, 9:46 AMtimeout
keyword similar to Mockito?grzegorz.olowka
08/10/2018, 6:49 AMdave08
09/12/2018, 2:31 PMEmpty test suite.
in Android Studio? I also updated the gradle plugin to 3.1.5. I have mixed Spek & JUnit tests.keturn
10/06/2018, 1:50 AMketurn
10/10/2018, 3:13 AMproperty(subject::x).toBe(...)
is a lot of extra words.ivano
11/01/2018, 7:19 AMSergio Crespo Toubes
11/07/2018, 10:38 AMJake
11/20/2018, 3:29 PMTerminal
to launch a specified emulator, check for a binary, install it if not present, then run Appium tests?
Could you point me in the right direction?arekolek
11/26/2018, 11:49 AMam
11/27/2018, 11:12 AMHey folks I wanted to know how can we capture lamda arguments using argument captor, I am able to do when lamda values contains single value ,but how to cature more than one
Single argument
api.doSomething(function1:(value:String)->Unit){
//doSomeStruff
function1.invoke("SOME_VALUE")
}
Case 1
val mockfunction = mock<((value: String) -> Unit)>()
api.doSomething(mockfuntion)
val captor = argumentCaptor<String>()
verify(mockfunction).invoke(captor.capture)
Case 2:
Can you guys guide me how can we test for than one argument
api.doSomething(function1:(title:String,message:String)->Unit){
//doSomeStruff
function1.invoke("SOME_VALUE","SOME_VALUE")
}
val mockFunction = mock<(title: String, message: String) -> Unit>()
val captor = argumentCaptor<((title: String, message: String) -> Unit)>()
^^ Not sure is this the correct way to do for the above or how to verify the arguments
am
11/27/2018, 11:12 AMHey folks I wanted to know how can we capture lamda arguments using argument captor, I am able to do when lamda values contains single value ,but how to cature more than one
Single argument
api.doSomething(function1:(value:String)->Unit){
//doSomeStruff
function1.invoke("SOME_VALUE")
}
Case 1
val mockfunction = mock<((value: String) -> Unit)>()
api.doSomething(mockfuntion)
val captor = argumentCaptor<String>()
verify(mockfunction).invoke(captor.capture)
Case 2:
Can you guys guide me how can we test for than one argument
api.doSomething(function1:(title:String,message:String)->Unit){
//doSomeStruff
function1.invoke("SOME_VALUE","SOME_VALUE")
}
val mockFunction = mock<(title: String, message: String) -> Unit>()
val captor = argumentCaptor<((title: String, message: String) -> Unit)>()
^^ Not sure is this the correct way to do for the above or how to verify the arguments
oleksiyp
11/27/2018, 11:14 AMam
11/27/2018, 11:14 AMoleksiyp
11/27/2018, 11:15 AMam
11/27/2018, 11:20 AMcapture()
is invoked it gets me a function object, this is wrong ,but I do not know how to capture the multiple arguments,thats passed, for actual code it does pass stringsoleksiyp
11/27/2018, 11:26 AManswers
, not much I think except that