News for hackers. Stuff that matters.
Re:MinUnit – A minimal unit testing framework for C (2002) by tonyedgecombe on Friday August 17, 2018 @01:58PM (#17784598)
I'm surprised that isn't used in other languages, having the test right next to the code seems such a good idea.
Re:MinUnit – A minimal unit testing framework for C (2002) by giancarlostoro on Friday August 17, 2018 @03:04PM (#17785010)
Rust went this path too, there's something I love about having unittesting readily available. I can choose to use it or not use it. My asserts are available to me as I so desire. Python too sorta has some unittesting in the standard library, but that's not a compiler level thing.