Java

Functional testing : Asserting that a line was logged by Logback

I encountered a tricky problem today, I was writing a test for which the assertion was onto some function called or not. I couldn't mock that function as it was part of an external API for which I couldn't change the real Object to a mocked Object. There was a solution, checking that this function… Continue reading Functional testing : Asserting that a line was logged by Logback

MacOs

Install compile tools on MacOs without that fat XCode

I got that when I tried to compile UADE on my Mac. ~ > make -bash: make: command not found ~ > so no 'make' on MacOs by default? huh? And it goes worse, to get it (and other compile tools like gcc), you're supposed to install the Apple Developer tools, which is included in… Continue reading Install compile tools on MacOs without that fat XCode