Overclockers Australia Forums
OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Programming & Software Development

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 13th April 2012, 6:23 PM   #1
halfling Thread Starter
Member
 
Join Date: Mar 2006
Location: Canberra
Posts: 136
Default Documenting a projects design

well its been a while since I tackled any real project so i am looking to nut out the design in UML before i get to stuck in to writing the code to help reduce the oh i really don't need that function moments.

Has anyone found any decent tools for making UML models of an application? preferably I'm looking for something that can stub out my application in java to eclipse for me once I'm happy with the model, and potentially have the model updated as i write more code to help form part of the final documentation.

as its just a hobby project something free would be best
halfling is offline   Reply With Quote

Join OCAU to remove this ad!
Old 13th April 2012, 8:16 PM   #2
Elyzion
Member
 
Elyzion's Avatar
 
Join Date: Oct 2004
Location: Singapore
Posts: 6,255
Default

Test Driven Development.
or
Behaviour Driven Development.
__________________
Quote:
Originally Posted by SyN View Post
next time you see a dog, go up close to it and say loudly with furious anger 'ENGLISH MOTHERFUCKER, DO YOU SPEAK IT'
Elyzion is offline   Reply With Quote
Old 13th April 2012, 9:40 PM   #3
lothloriel
Member
 
lothloriel's Avatar
 
Join Date: Dec 2008
Location: Sydney
Posts: 3,147
Default

http://astah.net/download#community

I think this is the one i used for a project managment course last year, has pretty much all you'll need for a basic UML project.

You may be able to integrate it into your java project, but can't say for sure.

easy as pie to use.
__________________
| last.fm |
What is this life if, full of care, we have no time to stand and stare?
-W. H. Davies

Last edited by lothloriel; 13th April 2012 at 9:45 PM.
lothloriel is offline   Reply With Quote
Old 14th April 2012, 10:10 PM   #4
zach
Member
 
zach's Avatar
 
Join Date: May 2009
Location: chermside.bris.qld.au:80
Posts: 2,568
Default

Visual Studio will generate UML diagrams from classes lol.

+1 for BDD - Cucumber is very cool.
zach is offline   Reply With Quote
Old 15th April 2012, 1:10 PM   #5
halfling Thread Starter
Member
 
Join Date: Mar 2006
Location: Canberra
Posts: 136
Default

BDD sounds like where i was headed with my testing anyway so i might try to follow that more strictly.

however this still does not help my original problem of attempting to lay out the objects in a manner to help me get there interactions for class design set out to make my firsts tests succeed
halfling is offline   Reply With Quote
Old 16th April 2012, 9:32 AM   #6
slaytanic
Member
 
slaytanic's Avatar
 
Join Date: Sep 2002
Location: Sydney
Posts: 390
Default

The last D in TDD/BDD is Design. So writing your tests will go a long way to establishing what your classes will look like and how they interact. And it will discourage you from writing unnecessary methods etc.

Don't write the code first then the tests, write the tests first and design your classes/behaviour so the tests will pass.
slaytanic is offline   Reply With Quote
Old 16th April 2012, 6:58 PM   #7
halfling Thread Starter
Member
 
Join Date: Mar 2006
Location: Canberra
Posts: 136
Default

@slaytanic the second d is actually Development (Test Driven Development or Behavior driven Development)

As this stage I'm more after modeling where all my data is stored based on the relationships between them so i know what i have to reference when i am trying to make a test pass
halfling is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 8:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!