raniejade
09/30/2018, 6:31 AMraniejade
10/05/2018, 1:36 AMLeonell
10/10/2018, 12:00 PMjava.lang.NoSuchMethodError: org.jetbrains.kotlin.config.KotlinFacetSettings.getTargetPlatformKind()Lorg/jetbrains/kotlin/config/TargetPlatformKind;
at org.spekframework.intellij.SpekRunConfigurationProducer.setupConfigurationFromContext(SpekRunConfigurationProducer.kt:48)
at org.spekframework.intellij.SpekRunConfigurationProducer.setupConfigurationFromContext(SpekRunConfigurationProducer.kt:27)
at com.intellij.execution.actions.RunConfigurationProducer.createLightConfiguration(RunConfigurationProducer.java:244)
at com.intellij.execution.lineMarker.ExecutorAction$Companion.computeConfigurations(ExecutorAction.kt:61)
at com.intellij.execution.lineMarker.ExecutorAction$Companion.getConfigurations(ExecutorAction.kt:46)
at com.intellij.execution.lineMarker.ExecutorAction$Companion.access$getConfigurations(ExecutorAction.kt:31)
at com.intellij.execution.lineMarker.ExecutorAction.getActionName(ExecutorAction.kt:94)
at com.intellij.execution.lineMarker.ExecutorAction.update(ExecutorAction.kt:71)
at com.intellij.execution.lineMarker.LineMarkerActionWrapper.update(LineMarkerActionWrapper.java:84)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:256)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:199)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:350)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:110)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.invokePopup(EditorGutterComponentImpl.java:1875)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.mousePressed(EditorGutterComponentImpl.java:1630)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.processMousePressed(EditorImpl.java:3763)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.lambda$runMousePressedCommand$0(EditorImpl.java:3629)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:139)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:97)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.runMousePressedCommand(EditorImpl.java:3634)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:3565)
Leonell
10/10/2018, 12:00 PMat java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.Component.processMouseEvent(Component.java:6545)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4523)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Leonell
10/10/2018, 12:01 PMjasper
10/10/2018, 11:44 PMjasper
10/11/2018, 12:30 AMkotlin-stdlib-jdk8
but not kotlin-stdlib
- both required.jasper
10/11/2018, 7:15 AM[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.355 s
[INFO] Finished at: 2018-10-11T15:13:51+08:00
[INFO] Final Memory: 34M/500M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project kotlin-spek-maven: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed: There was an error in the forked process
[ERROR] java.lang.AbstractMethodError: Method org/jetbrains/spek/engine/Scope$Group.getType()Lorg/junit/platform/engine/TestDescriptor$Type; is abstract
jasper
10/11/2018, 7:16 AMgit@github.com:spekframework/spek-maven-sample.git
sample app for Maven needs a refresh.jasper
10/11/2018, 7:24 AMjasper
10/12/2018, 3:51 AMjasper
10/12/2018, 3:51 AMjasper
10/12/2018, 3:53 AMjasper
10/12/2018, 3:54 AMHi everybody,
I don't foresee any easy way to support testing frameworks based on lambda expressions or closures with the Spring TestContext Framework, simply because the two programming models are completely different with regard to registration (and more importantly lookup) of metadata as well as test execution lifecycle.
I'll post something similar on the related JIRA issue for Spring and will seek feedback there.
Regards,
Sam
^-- however the final comment on that issue from Sam . . . 🤔marcelo
10/12/2018, 4:46 PMspek framework
but I am not able to run my tests. Any idea why - also why is there a Spek and Spek Framework plugin? Should I install both?? Anyways, can't run my Spek tests...marcelo
10/12/2018, 4:54 PMmarcelo
10/12/2018, 4:54 PMmarcelo
10/12/2018, 4:55 PMrobfletcher
10/12/2018, 4:56 PMrobfletcher
10/12/2018, 4:56 PMMichał Mally
10/16/2018, 11:23 AMmarcelo
10/16/2018, 8:21 PMit("Should throw an exception when counter is negative") {
counter.tagVal(EnumTagValue(ExampleEnum.BAR)).increment(-1)
}
marcelo
10/16/2018, 8:22 PMopen class Counter(
name: String,
parent: RevlMetrics,
val tagVals: Collection<TagAndValue<out TagValue>>
) : MetricBase(name, parent) {
/**
* Add [amount] to the counter.
*/
fun increment(amount: Int = 1) {
if (amount < 1) {
throw IllegalArgumentException("Increment can only be positive")
}
parent.sendCounter(CounterChange(name, tagVals, amount))
}
}
robfletcher
10/16/2018, 8:26 PMit("Should throw an exception when counter is negative") {
assertThrows<IllegalArgumentException> {
counter.tagVal(EnumTagValue(ExampleEnum.BAR)).increment(-1)
}
}
robfletcher
10/16/2018, 8:27 PMtapchicoma
10/19/2018, 11:36 AMhhariri
raniejade
11/24/2018, 12:26 AMMarc Knaup
12/12/2018, 2:10 PMDynamicTest
. Works perfectly now (2 seconds) 😕