sethmason.com The internet resource for all things Seth Mason.

Posts tagged tests

Writing Tests For Fun And Profit

Learning a new programming language historically starts off with the class “Hello World” example. I’ve probably done something like that a bazillion times. From there you take more steps into advanced parts of the language. If you are smart, you save your example programs to refer back to them later. But there’s a better way. And that better way is to write test cases that exercise the capabilities of the language you are trying to learn. This also works for new libraries within a language you are trying to learn.

[Read full article]