dio
01/12/2018, 7:59 PMrobstoll
01/12/2018, 8:00 PMdio
01/15/2018, 5:16 PMdio
01/15/2018, 10:54 PMData
is a kotlin data class
so my assertions were vs specific fields in my Data
classchristophsturm
06/07/2018, 11:49 AMassert(4 + 6).isLessThan(5)
to my code it does not offer to import anything and uses the assert(boolean) from the kotlin standard libchristophsturm
06/07/2018, 4:17 PMchristophsturm
06/08/2018, 1:26 PMghedeon
06/10/2018, 10:42 PMfun posts(): Single<Foo>...
...
test:
val answer = foo().test().values().first()
//assert answer with atrium
this .test().values().first()
looks a bit verbose, do you wrap it into an extension function? Just curious what's the best practice hererobstoll
06/16/2018, 8:21 PMbitkid
06/18/2018, 3:21 PMchristophsturm
07/11/2018, 11:20 AMdave08
07/23/2018, 7:25 AMisNotNull
(the IDE shows it), but toBe
is resolved to @kotlin.Deprecated public fun <T : java.math.BigDecimal> ch.tutteli.atrium.creating.Assert<T>
, so I get an error that my type is not derived from BigDecimal...?christophsturm
07/23/2018, 10:30 AMch.tutteli.atrium.verbs.assert.assert
and ch.tutteli.atrium.verbs.assert
as autoimport for assert, the first of which is deprecated. is it possible to get a jar file that does not include the deprecated methods?dave08
07/23/2018, 1:05 PMHadi Tok
10/05/2018, 12:04 PMketurn
10/12/2018, 3:28 PM::name
here?keturn
10/15/2018, 3:29 AMBen
11/12/2018, 4:48 PMcharleskorn
12/08/2018, 9:43 PMHadi Tok
12/26/2018, 3:49 PMrobstoll
01/12/2019, 6:45 PMfirst: T, vararg others: T
. For instance:
fun <E : Any, T : Iterable<E>> Assert<T>.contains(expected: E, vararg otherExpected: E)
The intention behind it: this way one has to pass at least one argument (compiler is not happy otherwise). I would like to know what you experienced so far:
1️⃣ it was helpful
2️⃣ it is confusing/makes things more complicatedDarren Bell
09/08/2019, 3:12 PMCannot access class 'ch.tutteli.atrium.domain.creating.throwable.thrown.ThrowableThrown.Builder'. Check your module classpath for missing or conflicting dependencies
I'm trying to use the 0.9.0-alpha version, my build.gradle.kts for test is quite simple:
js().compilations["test"].defaultSourceSet {
dependencies {
implementation( kotlin("test-js"))
implementation("ch.tutteli.atrium:atrium-fluent-en_GB-js:${LibraryVersions.atrium_version}")
}
}
Do you have any idea what this might be?
Thankssanatik
10/06/2019, 8:08 PMatrium
to Maven Central repo?
Any reasons not to?Shubham Kumar
10/26/2019, 11:56 AMLuke
12/08/2019, 1:44 PMLuke
12/09/2019, 3:20 PMit.isAfter(expected) || it.isEqual(expected)
?Igor Akkerman
12/31/2019, 12:21 AMdata class Member(val name: String, val interest: String, val favoriteNumber: Int)
val members = listOf(Member("Me", "Kotlin", Random.nextInt()), Member("MyDog", "food", Random.nextInt()))
expect(members)
.containsExactly(
{ feature { f(it::name) }.toBe("Me") ; feature { f(it::interest) }.toBe("Kotlin")},
{ feature { f(it::name) }.toBe("MyDog") ; feature { f(it::interest) }.toBe("food")}
)
Igor Akkerman
01/06/2020, 12:18 PMbe sem
01/17/2020, 4:28 PMSebastien Lalumiere
02/05/2020, 10:34 PM