Thread
#atrium
    christophsturm

    christophsturm

    4 years ago
    I’m trying to get startet with atrium, but when i add
    assert(4 + 6).isLessThan(5)
    to my code it does not offer to import anything and uses the assert(boolean) from the kotlin standard lib
    r

    robstoll

    4 years ago
    Have you set up your own assertion verb or do you use a predefined one?
    in case you use the predefined assertion verb, then import it:
    ch.tutteli.atrium.verbs.assert.asssert
    christophsturm

    christophsturm

    4 years ago
    ah ok i just skipped over the part with creating own assertion verbs. i assumed its about custom matchers. now it makes sense
    ch.tutteli.atrium.verbs.assert.asssert does not seem to be contained in my 0.6.0 jar file
    r

    robstoll

    4 years ago
    ah... you need to define a dependency:
    testCompile "ch.tutteli:atrium-verbs:$atrium_version"
    The next version will contain the predefined verbs in the bundle. I see that it should be easier to start off using Atrium