3 ms·
The describe_string_calculator function (the stuff on the left-hand side of the slides) seems like a pretty bizarre way to describe the spec: all it does is def
by kenko 14y ago
The describe_string_calculator function (the stuff on the left-hand side of the slides) seems like a pretty bizarre way to describe the spec: all it does is define functions, some of which also define functions, but none of which is ever called, or is even callable, as far as I know (maybe with some black magic). Suppose that custom delimiters didn't work: how would this help you discover that?
- tveita 14y agoThe description of the video the example was taken from (http://vimeo.com/8569257 http://vimeo.com/8569257) notes that the tests are done using his (Gary Bernhardt) own Mote framework (https://github.com/garybernhardt/mote https://github.com/garybernhardt/mote) From a quick look, it does indeed use some very black and rather... funky magic to locate and call the inner functions.