Bloggposter merket som:
tdd

Writing reusable Backbone.js components

In this blog post I show how functionality can easily be reused across Backbone.js models, collections and views in a very powerful way. This technique helps decouple code and make each component more focused on its primary task.

Integration testing Backbone.js

Throughout my last project we have had an interesting approach to testing our Backbone.js code. Instead of unit testing each and every bit of the application, we mock out Ajax requests and test that the application works end-to-end.

Getting started with JS and TDD

Introduction Are you working on unmaintainable JavaScript code? Are you afraid to make changes to your 5000+ lines long JS file? If so, you’ve probably not written tests or done TDD. Fear not! Read on, and we will show you how to get started with writing tests and setting up the needed tools. We will [...]

Hva er kvalitet?

I faggruppen Kvalitet og testing har vi gjennom 4 år diskutert kvalitetsrelaterte temaer. Vi har blant annet vært innom teknikker som TDD og BDD, ulike smidige metoder som Scrum og Kanban, verktøy for testing og kvalitetsheving samt kulturbygging og craftsmanship. Konklusjonen er at kvalitet kan være så mangt. Selv i faggruppen har vi fortsatt hvert [...]

Få orden i JavaScript-testene med QUnit

Når man skriver i et dynamisk språk som JavaScript med mye kraft i fingerspissene er det lett å ødelegge det man allerede har fått på plass. QUnit er et lettvektig rammeverk for enhetstesting i JavaScript. Med QUnit kan du blant annet teste asynkron kode og fasilitere automatisert testkjøring. Denne artikkelen forklarer hva QUnit gjør og hvordan man bruker det.

Top-down TDD in Clojure with Brian Marick

Brian Marick is doing a Clojure tour – and we are so fortunate to have him visit Oslo to hold his “Top-down TDD in Clojure”-course. The course takes place on Friday, September 16th and Saturday 17th. We hope that you will join us!

Test-Driven Development with JavaScript and node.js @ BEKK

The focus group for dynamic languages in BEKK invites you to learn about Test-driving JavaScript on Monday, January 24th from 14:00 to 17:00 at BEKKs main office. This can be considered a warm up to the XP-/node.js-meetup later that evening at The Scotsman. Our speakers this afternoon will be Christian Johansen from Shortcut AS and [...]