Skip to content

[#257] Print MorleyLogs in tests

Alyona Antonova requested to merge alyoanton9/#257-print-morleylogs-test into master

Description

MorleyLogs are text logs produced by print extra instruction. We store them in InternalState, but don't print them in error messages where they can be really useful.

To solve this, MorleyLogs are added to error message in integrationalTest. Also they are grouped by different contract's calls, so we can define whether logs were produced by one call or several calls.

Related issue(s)

Resolves #257 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Alyona Antonova

Merge request reports