-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guide needed for incomplete IntelliJ integration #66
Comments
AFAIK it is not implemented yet. |
Guide could point that out explicitly :) |
Hmm, can you paste your spek class? |
@raniejade Who? Why? |
@paul-hammat of course you :). To know what's incompatible. Running |
Ah, so this works for you and your projects? Project: https://github.com/paul-hammant/jooby-tiddlywiki-backend/settings Speks that offer "Nothing Here" inside intellij: https://github.com/paul-hammant/jooby-tiddlywiki-backend/blob/master/src/test/kotlin/gamma/WebDriverSpec.kt#L90 |
Looks like a legit bug, this is what causing it: fun SpecBody.jooby(app: Jooby, body: SpecBody.() -> Unit) {
beforeGroup {
app.start(
"server.join=false",
"mapdb.file=test.db",
"mapdb.testing=true"
)
}
body()
afterGroup {
app.stop()
}
} Maybe just change it for now, to: fun SpecBody.jooby(app: Jooby) {
beforeGroup {
app.start(
"server.join=false",
"mapdb.file=test.db",
"mapdb.testing=true"
)
}
afterGroup {
app.stop()
}
} Then using it, instead of: jooby(app) {
// test code here
} Do: jooby(app)
// test code here |
I'm looking in Jooby's own source for that and see - https://github.com/search?q=org%3Ajooby-project+SpecBody.jooby&type=Code I'm wondering if I should just wait for you to fix something and do a release (implicit from "legit bug" in your text). I mean waiting for this feature is OK. |
I'll fix it on the plugin for |
@raniejade thank you. I think we can use your workaround :) I also found another bug in the same section but in another project. Single test/group fail with NPE. You can reproduce it this way: clone https://github.com/eraga/async-jpa and launch any single test from idea. But dont try hbase tests package, it requires some additional setup. Do I need to open separate ticket for this? |
I encounter this, when I clicked on the green triangle.
I don't know what I configured incorrectly, or what version of what is subtly incompatible. Some advice to be added to the documentation?
The text was updated successfully, but these errors were encountered: