web icon indicating copy to clipboard operation
web copied to clipboard

Remove Mock -> Use Mox (or Hammox)

Open fabriziosestito opened this issue 2 years ago • 2 comments

http://blog.plataformatec.com.br/2015/10/mocks-and-explicit-contracts/

fabriziosestito avatar Mar 05 '22 13:03 fabriziosestito

Some tests with mock here: https://github.com/trento-project/web/pull/304/commits/046bcd9fac28363d8c3b84a01d16fe8c3065807d

https://github.com/trento-project/web/blob/main/test/trento/application/integration/checks/checks_test.exs

  • "should handle execution completed event properly"
  • "should handle execution started event properly"

arbulu89 avatar Apr 12 '22 16:04 arbulu89

https://github.com/trento-project/web/pull/409

fabriziosestito avatar Apr 22 '22 15:04 fabriziosestito