You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.
If you do not provide proper parameters when calling and editor using editWith() in a test, you get:
Running test scenario AddManifestYml should fail if parameters are missing
Step AddManifestYml archive_name is my-rug-archive for AddManifestYml should fail if parameters are missing failed:
scala.NotImplementedError: an implementation is missing
at scala.Predef$.$qmark$qmark$qmark(Predef.scala:230)
at com.atomist.rug.test.gherkin.project.ProjectScenarioWorld.editWith(ProjectScenarioWorld.scala:85)
at jdk.nashorn.internal.scripts.Script$Recompilation$674$5843AA$AddManifestYmlTest$cu1$restOf.L:1$L:121(.atomist/tests/project/AddManifestYmlTest.js:124)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:661)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
at jdk.nashorn.api.scripting.ScriptObjectMirror.call(ScriptObjectMirror.java:117)
...
We should return a useful error.
I'm pretty sure this also prevents one from using the "parameters were invalid" WellKnownStep.
The text was updated successfully, but these errors were encountered:
Pass the InvalidParameterException up through editor calls so they get
recorded and you do not hit `???` and blow up when checking if the
editor checks parameters.
Fixes#444
Pass the InvalidParameterException up through editor calls so they get
recorded and you do not hit `???` and blow up when checking if the
editor checks parameters.
Fixes#444
If you do not provide proper parameters when calling and editor using
editWith()
in a test, you get:We should return a useful error.
I'm pretty sure this also prevents one from using the "parameters were invalid" WellKnownStep.
The text was updated successfully, but these errors were encountered: