Search Unity

Javascript BDD Framework

Discussion in 'Works In Progress - Archive' started by calebcohoon, Apr 13, 2012.

  1. calebcohoon

    calebcohoon

    Joined:
    Dec 31, 2011
    Posts:
    4
    Hey everyone!

    I just wanted to post and say that I have been working on a behaviour driven development framework for Unity. Since I program javascript and ruby for a living, I thought how cool would it be if I could write BDD style tests in javascript for Unity! So I built Gunpowder. It is still a work in progress but it can do a little right now which is exciting. :D

    https://github.com/calebhc/gunpowder

    I'm currently trying to build a very simple game with it to show off how to use it. I hope someone may find this interesting and maybe want to contribute. I love Unity and testing, so seeing this tool become more full featured would be very exciting. :)

    That's it for now. Later

    (Note - I styled this tool heavily after the Jasmine BDD framework)
     
  2. SevenBits

    SevenBits

    Joined:
    Dec 26, 2011
    Posts:
    1,953
    What is BDD? Never heard of it before...
     
  3. jc_lvngstn

    jc_lvngstn

    Joined:
    Jul 19, 2006
    Posts:
    1,508
    Behavior Driven Development...related to TDD (test driven development). See also Unit Testing.
     
  4. calebcohoon

    calebcohoon

    Joined:
    Dec 31, 2011
    Posts:
    4
    What jc_lvngstn said. :)