[langsec-discuss] Test cases in the same language as the application being tested
Nils Dagsson Moskopp
nils at dieweltistgarnichtso.net
Sun Dec 11 21:40:22 UTC 2016
Recently, I wanted to write a test case that I was sure would lead to an
error in the application. Yet, I could not, as the testing framework was
written in the same programming language as the application, lacking the
expressiveness needed for the test case. Then that thing happened again.
I believe there might be some lesson about the power of languages hidden
in my experience, but I am not sure what exactly it would be. It reminds
me of Kerningham's lever (The Elements of Programming Style, Chapter 2):
> Everyone knows that debugging is twice as hard as writing a program in
> the first place. So if you're as clever as you can be when you write
> it, how will you ever debug it?
Nils Dagsson Moskopp // erlehmann
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 194 bytes
Desc: not available
More information about the langsec-discuss