snowe
01/15/2019, 12:38 AMraniejade
01/15/2019, 12:40 AMsnowe
01/15/2019, 12:47 AMsnowe
01/15/2019, 12:48 AMsnowe
01/15/2019, 12:50 AMit
to be resolvable. I thought it was import <http://org.spekframework.spek2.style.specification.Suite.it|org.spekframework.spek2.style.specification.Suite.it>
, but intellij refuses to resolve that as an actual method.raniejade
01/15/2019, 7:24 AM2.0.0-rc.1
. I've cloned your project and noticed you're using the dsl wrong. You can't use it
with group
- you either use the whole specification style or use test
instead of it
.raniejade
01/15/2019, 7:24 AMpackage com.tylerthrailkill.helpers.prettyprint
import org.spekframework.spek2.Spek
object MyTest: Spek({
println("this is the root")
group("some group") {
println("some group")
test("some test") {
println("some test")
}
}
group("another group") {
println("another group")
test("another test") {
println("another test")
}
}
})
raniejade
01/15/2019, 7:25 AMpackage com.tylerthrailkill.helpers.prettyprint
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
object MyTest: Spek({
println("this is the root")
describe("some group") {
println("some group")
it("some test") {
println("some test")
}
}
describe("another group") {
println("another group")
it("another test") {
println("another test")
}
}
})
raniejade
01/15/2019, 7:25 AMraniejade
01/15/2019, 7:26 AMraniejade
01/15/2019, 7:26 AMsnowe
01/16/2019, 7:24 PM2.0.0-rc.1
isn’t an artifact in that repo. https://dl.bintray.com/spekframework/spek-dev/org/spekframework/spek2/spek-dsl-jvm/
2. I’ve read the core concepts and understand them. there is a lack of proper examples for working with spek, both in the repo and on the webpage. I’ve resorted to looking for other instructions around the internet in order to fill in these gaps. I’m guessing the example I copied was from an earlier rc of 2 then…snowe
01/16/2019, 7:24 PMraniejade
01/17/2019, 6:49 AM2.0.0-rc.1
is in jcenter()
. https://dl.bintray.com/spekframework/spek-dev/org/spekframework/spek2/spek-dsl-jvm/ is used to host snapshots.snowe
01/17/2019, 4:16 PMsnowe
01/17/2019, 4:16 PMsnowe
01/17/2019, 4:16 PMtestImplementation ('org.spekframework.spek2:spek-dsl-jvm:${spek_version}') {
snowe
01/17/2019, 4:17 PM<https://dl.bintray.com/spekframework/spek-dev>
as does this issue. https://github.com/spekframework/spek/issues/461