dmcg
10/27/2019, 11:28 AMrobstoll
10/28/2019, 7:41 AMchristophsturm
10/28/2019, 10:16 AMrobfletcher
10/28/2019, 4:54 PMchristophsturm
10/29/2019, 9:25 AMand
?dmcg
10/29/2019, 9:34 AMdmcg
10/29/2019, 9:35 AMchristophsturm
10/29/2019, 9:38 AMexpectThat(subject)
.hasLength(35)
.matches(Regex("[\\w\\s]+"))
.startsWith("T")
you just replace expectThat
with Then
dmcg
10/29/2019, 9:42 AMThen(“subject”, Fixture::subject).hasLength(...)...
dmcg
10/29/2019, 9:44 AMchristophsturm
10/29/2019, 9:45 AMrobstoll
10/29/2019, 9:46 AMdmcg
10/29/2019, 9:47 AMdmcg
10/29/2019, 9:49 AMdmcg
10/29/2019, 9:51 AMrobstoll
10/29/2019, 11:44 AMfeature { f(it::children) }.all { feature { f(it::age) }.isGreaterThan(18) }
christophsturm
10/29/2019, 12:55 PMdmcg
10/29/2019, 3:05 PMrobstoll
10/29/2019, 3:06 PMdmcg
10/29/2019, 3:08 PMdmcg
10/29/2019, 3:11 PMrobstoll
10/29/2019, 3:32 PMexpect Person(...)
◆ children
◆ all entries:
» age
◆ is greater than: 18
robstoll
10/29/2019, 3:32 PMThen
of courserobstoll
10/29/2019, 3:38 PMdmcg
10/29/2019, 5:18 PMrobstoll
10/29/2019, 6:20 PMnone { isGreaterThan(65) }
? Repeat the whole phrase or come up with some sort of grouping? Finally you end up with something similar to Atrium 😉
I plan to integrate Atrium with test runners but in a different way. I would not only describe the assertions but also show the resultrobstoll
10/29/2019, 6:22 PM