Read Next

Automatic Generation of Cucumber from Code

(All of the code mentioned here exists, and we're using it. Our actual codebase is all in Perl - I've written out examples here in Javascript for clarity and so there's no copyright issues. The actual implementation code for all this is pretty simple and not very clever, so I'm not planing to jump through the hoops needed to actually release it unless there is some massive unexpected demand...)

Let's start with Gherkin. Gherkin is basically a constrained application of English meant for specifying test cases. For example, for a calculator you might write:

You then set up a number of step parsers that match the steps (called step definitions), and execute code based on it. eg:

Parents Learning With Their Unschoolers

On Unschoolery

By Leo Babauta

One of the beautiful things about unschooling is that the parents learn alongside their children.

This is truly amazing.

Consider this: in school, kids learn stuff, and the parents don't know anything about it for the most part (apart from a summary from the kid or teacher). The kid also just learns the material, not so much how to learn. And parents don't really learn how their kid learns either.

But with unschooling, it's a huge learning experiment that the kid and parent are doing together. There's no one to say, "This is what you need to learn, and this is how you'll do it." So as a result, the kid and parent have to figure these things out together.

Rendering New Theme...