RhoSpec: fail tests on rholang runtime errors

Description

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

Environment

None

Confluence content

mentioned on

Activity

Show:

Tomislav Grospić January 31, 2020 at 4:53 PM

Done

Assignee

Tomislav Grospić

Reporter

Priority

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