RhoSpec: fail tests on rholang runtime errors
Activity
Show:
Tomislav Grospić January 31, 2020 at 4:53 PM
This is fixed in this PR.
https://github.com/rchain/rchain/pull/2853
Done
Assignee
Reporter
Artur Gajowy
Artur GajowyPriority
Components
Sprint
Fix versions
Created April 23, 2019 at 1:55 PM
Updated January 31, 2020 at 4:53 PM
Resolved January 31, 2020 at 4:53 PM
No runtime errors from rholang execution are reported by RhoSpec.
Take for example,
@0!(2 + "AASDA")
- this inserted in either test or tested code doesn't even log a warning.
This is an execution error though, as can be seen by running the RholangCLI:
Evaluating: @{0}!((2 + "AASDA")) Estimated deploy cost: Cost(322,) Errors received during evaluation: Error: Operator `+` is not defined on String.
Expected behavior:
any rholang execution error during RhoSpec execution causes the test to fail