I have created a custom compilation called `testFu...
# javascript
j
I have created a custom compilation called
testFunctional
and I put a test which should fail, and it fails the first time, but looks like the task is cached and the next time the task is success. Is there something special I have to set?
Untitled.txt
j
Sounds like inputs
Everything your task uses needs declared as an input
Additionally, you can wire things using properties to avoid manually wiring inputs
🙏 1
j
I have seen this is the "official" way, but tests are always passing, even the first time.
Copy code
js {
    val integrationTest by compilations.creating
    testRuns.create(integrationTest.name) {
        setExecutionSourceFrom(integrationTest)
    }
}