How do you do mocking now-a-days in Haxe?
utest is dead? As far as I can tell it’s the least dead testing library for Haxe. It’s used in the compiler so it’s necessarily always kept up to date with latest Haxe. As far as I know it doesn’t do mocking though.
Anyway, for me the answer is just “I don’t do mocking in Haxe”.
Buddy pointed me here: Google Code Archive - Long-term storage for Google Code Project Hosting. , which is dead.
After you told me that it’s not dead, I found its new home, GitHub - haxe-utest/utest: cross-platform unit testing system for Haxe
But yeah, it doesn’t seem to do mocking
Yeah, mocking is not critical for me, but it sure allows for cleaner tests.
I use mockatoo for mocking, and even though it is rather old it still works (rather cumbersome sometimes but does the job).
As for test framework I highly stand for tink_unit, it’s lightweight and plays well with tink_core if you use it.