generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Test-Driven Development

Previous Thread :: Next Thread 
LPGhatguy is not online. LPGhatguy
Forum Moderator
Joined: 27 Jun 2008
Total Posts: 4725
21 Feb 2012 10:12 PM
Hi all.

This is a thread to discuss development strategies.

I'm thinking of beginning to use a test-driven development strategy (because I've only tried a couple times, and it wasn't very well planned out.)

What development strategies do you use?
What do you think of test-driven development?
What strategies are best for what types of projects?
Report Abuse
ThyUnveiling is not online. ThyUnveiling
Joined: 21 Dec 2011
Total Posts: 44
21 Feb 2012 10:21 PM
mi flyin chairmobileeee
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
21 Feb 2012 10:29 PM
TDD looks awful to me... It's too organized. I use a very unorganized strategy that generally follows the pattern of Behavior Driven Development although I deviate slightly. i think BDD works well for nearly anything. TDD is too organized and doesn't think ahead imo.
Report Abuse
NinjaShadow1 is not online. NinjaShadow1
Joined: 03 Mar 2009
Total Posts: 2689
21 Feb 2012 10:33 PM
I don't know what you people are talking about, care to elaborate?
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
21 Feb 2012 10:34 PM
use the google
Report Abuse
LPGhatguy is not online. LPGhatguy
Forum Moderator
Joined: 27 Jun 2008
Total Posts: 4725
21 Feb 2012 10:51 PM
I like the idea of TDD because it lets me know what my code will be without actually implementing it, and then implementing it and watching it fail in almost real time.
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
21 Feb 2012 11:11 PM
It may be too powerful of a tool for the kind of code that you typically write on Roblox. While you'd certainly have nice robust code if you wrote it that way it may not be worth the extra time that it would take.

I suspect that if you tried writing the code in that fashion that you would lose interest and stop writing tests for all the stuff that you do, at which point you might as well not be doing it that way in the first place.
Report Abuse
mustyoshi is not online. mustyoshi
Top 50 Poster
Joined: 27 Dec 2007
Total Posts: 41651
21 Feb 2012 11:48 PM
I write at most 20 lines of code before testing to make sure all is well.

~Monica
Report Abuse
LPGhatguy is not online. LPGhatguy
Forum Moderator
Joined: 27 Jun 2008
Total Posts: 4725
22 Feb 2012 12:43 AM
My record for most coding written without testing that had no bugs was 328 lines.
That was a year ago, and I haven't gotten close since.

Maybe I'll make some sort of plugin to ease the idea of making unit tests, like Visual Studio's Unit Test template (doesn't it have one?)
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
22 Feb 2012 07:14 AM
1.Get game idea
2.Make half finished hacky badly designed scripts
3.Hack it together
4.Copypasta code made for other games and add code to make it not crash
5.Add vip
6.Publish
Report Abuse
1Ra is not online. 1Ra
Joined: 02 May 2010
Total Posts: 2400
22 Feb 2012 02:07 PM
i always test after a block or two of code, like if I finished 2 functions then i would test.
Report Abuse
ThyUnveiling is not online. ThyUnveiling
Joined: 21 Dec 2011
Total Posts: 44
22 Feb 2012 03:03 PM
I'm crazy, I have to constantly make sure it's working, lulz.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image