BDD in Node.js (#lwsnode)

by morena. 0 Comments

This month we’re jumping into Node.js with Daniel Knell (@danielknell) and Julien Biezerman (@jbpros) who will be covering Behaviour Driven Development and all the tools you need to write better tested code.

Online Ticketing for BDD Node.js powered by Eventbrite

 

BDD in Node.js by Dan Knell

Daniel will be taking everyone on a whirlwind tour of Behaviour Driven Development in Node.js, and presenting a three step program for inner peace and better, more tested code.

Daniel Knell (@danielknell) is a Technical Architect and Development Consultant, hailing from London, In his spare time he is often found coding or hunting for good food & drink, and dreams of one day being a space pirate.

 

Cucumber.js: Cuke up your JavaScript! by Julien Biezerman

We’re now living the golden age of JavaScript. An increasing number of people are seeing it as a complete programming language. Therefore, agile development practices are now being adapted and applied to JavaScript code production.

Behaviour-Driven Development is a second-generation agile methodology with a strong focus on communication. In BDD, specifications are expressed through examples in the form of scenarios.

Originally written in Ruby, Cucumber is popular a tool for automating and validating a system against its scenarios.

A year ago, native JavaScript BDD solutions similar to Cucumber were almost nonexistent. Yet the need for it was manifest. It didn’t take me long before I started hacking on a port of the virtual cucurbitaceae and joined the Cucumber core team.

Cucumber.js is a native JavaScript implementation of Cucumber. It is a strict and robust port that can run on any JavaScript environment. It runs on Node.js as well as within any browsers, making it virtually serviceable against everything producing JavaScript and HTML (Node.js, Ruby on Rails, PHP, .Net, etc.).

This is an introduction to Cucumber.js. After briefly exposing the history and goals of the project, through an example Node.js application, I’ll demonstrate how to write features and scenarios, step definitions, hooks, support code, how to invoke Cucumber.js from both Node.js and browser environments.

 

Julien is a fervent BDDer who loves writing code, building well-crafted conducive software as well as sharing knowledge and techniques with other passionate people. He’s been freelancing for more than 9 years in Belgium, mostly developing web applications in Ruby, PHP, Perl and – more recently – JavaScript. Julien is also a member of the Cucumber core team. He is the lead developer on Cucumber.js, the JavaScript implementation of the famous BDD tool.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

HTML tags are not allowed.