Thanks Nicolas for your insight, initiative and information on this! That was really helpful. Unfortunately, I am not expert on mocking libraries at all. However, from the information provided by Nicolas it seems, that Mockery seems better suited to write tests for code including old nasty dependencies (which is almost always the case with ILIAS). So my vote goes for mockery.
↧