Re: tools to build design of application



Roman Mashak wrote:

> It's usual to make a design of application using pencil and paper list,
> where you can draw functional block and describe every C/C++ function
> specifications. It's true for small projects, I guess.
>
> But what are the good tools helping to manage full-cycle design of big
> application? What can you recommend? It might be open-source, free,
> commercial product? Or may be there are other techniques to fulfil the
> software design before start coding?

Living code must always be ready to change, regardless of where its design
began.

The best way to change code is to write wall-to-wall unit tests for it, and
run these after every tiny step of any change.

The best way to design code to be tested is to write the tests as you write
the code.

This leads to a curious effect. The best tools for full-lifecycle design of
industrial-strength applications are lots of unit tests.

Along the way, the code's design might occassionally be communicated and
adjusted via UML. This is (mercifully) less important!

http://flea.sourceforge.net/TDD_in_a_nut_shell.pdf

Get JUnit, CppUnit, or a *Unit for your least-favorite language, and start
writing all tests before you write the tested code.

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand


.



Relevant Pages

  • Re: Tracing the execution of scripts?
    ... When you do further development, write the tests first, then ... Writing unit tests *along with* the functional code will ... result in a design that is loosely coupled, ... I can write web applications in PHP until the ...
    (comp.lang.python)
  • Re: OO-Inquisition
    ... all issues in software coding. ... "refactoring" the database, I mean by changing the database and ... There simply no way to underestimate the power of unit tests. ... design, same as backtracking engine for gaming appz or expert system. ...
    (comp.object)
  • Re: Python from Wise Guys Viewpoint
    ... >> with retrofitting unit tests to OO systems, ... >> designed for it from scratch, objects will have quite a lot of ... This is obviously bad design, ...
    (comp.lang.lisp)
  • Re: The design is the code?
    ... >>I dont use unit tests either. ... >>i've checked that the design implements the spec and that the spec ... >>the code does what the design asks for. ... With a large code base, ...
    (comp.object)
  • Re: OOP/OOD Philosophy
    ... >Robert C. Martin wrote: ... the design is done on a different schedule. ... >> a series of unit tests and acceptance tests that must be written ... That's a strange definition of rigor. ...
    (comp.object)