Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 24 — Coming August 2012

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary
[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]
[ View All 1402 Games (Compo Only, Jam Only) | Warmup ]


The test-driven approach

Posted by
April 30th, 2011 3:34 am

Bet I’m the only one here who writes his test first. But it really pays off. As the game features an inventory and recipes like in minecraft you need to make sure everything runs orderly. On the other hand, after four hours of development I don’t have any screenshot but the results of my spec suite (jasmine if you care). But an hour or two and I’ll have a nice UI on top of the game.

Tags:

One Response to “The test-driven approach”

  1. GBGames says:

    I do TDD in my normal development, but I don’t think I’m experienced enough to use it for LD. I’ve attempted it before and didn’t get too far since it almost forces you to write “correct” code, and in 48 hours, that means a lot more well-thought-out code.

    And sometimes there isn’t time for thinking. B-)

    Of course, I use C++. If I used a higher level language, perhaps TDD in 48 hours would be a lot easier?

Leave a Reply

You must be logged in to post a comment.


All posts, images, and comments are owned by their creators.

[fcache: storing page]