Unit tests in Ivy and Ant

2017-12-04 Thread Gintautas Grigelionis
Hello, I decided to spend some time on unit tests in Ivy and Ant; I did some work on Ivy tests this summer and I feel that work is unfinished. In particular, there was a conversation about the use of fail(); my feeling is that it is somewhat superfluous: there are assumptions for (de)activating t

AW: Unit tests in Ivy and Ant

2017-12-04 Thread jhm
IMO catching an exception only makes sense if you check that exception against certain assumptions or you expect that. Otherwise the test runner will catch that (not excepted) and mark the test as failed. If the current codebase differs from that, I would agree with simplifying that. Jan > --