Code

Instrumented testing in Golang

Say goodbye to thousands of unit test lines of code

Imagine you create a Golang application, run it and get a test coverage report from it as a bonus. No unit tests written, no hundreds of mocks/stubs nor workarounds. Sounds too good?

Read more...

Lua metatables introduction

what are they and how do they work?

If you ever used Lua, then you heard about its tables and the metatable feature. It is a mix of a powerful, simple and yet confusing mechanism for newcomers. Let’s walk through how they work and some examples of how useful they can be. You can also find real use cases by checking my Hammerspoon spoons.

Read more...