rchain icon indicating copy to clipboard operation
rchain copied to clipboard

[TEST] Introduced mockito-scala testing library

Open stanislavlyalin opened this issue 2 years ago • 1 comments

Overview

This PR is not for a merge, but for discussion.

Added mockito-scala library for generating mock objects for unit tests.

Only one demo test has been changed. The rest of the tests are commented out for now.

Please make sure that this PR:

Bors cheat-sheet:

  • bors r+ runs integration tests and merges the PR (if it's approved),
  • bors try runs integration tests for the PR,
  • bors delegate+ enables non-maintainer PR authors to run the above.

stanislavlyalin avatar Jun 21 '22 16:06 stanislavlyalin

For now it seems that Mockito cannot give us easier way to test effectful code. Let's keep it on hold until further research.

tgrospic avatar Jun 23 '22 10:06 tgrospic