Modern business rules specification


Business rules, yes business truly rules in software development; if software doesn’t behave accordingly established forms, conventions and requirements of the business, then it is useless.


 


Therefore, behavior specification is paramount and is one of the more important aspects of successful software development. Yet, static documentation for specifications is one of the most ambiguous and tedious work in our profession.


 


Often the end result of specification is a lot of paperwork, which represent a bunch of work which rarely helps to really convey the essence of a software system. Moreover, it is the source for a great deal of miscommunication and the infamous “what the customer really need – what was built” trade.


 


Computers are tools and also can help with this beyond static electronic documents.


 


What if the very acceptance criteria for a software system could be clearly communicated? And then registered as an executable electronic document that at execution time unambiguously reports if the specified software system fulfills the expected behavior?


 


This very same active specification documentation helps to guide design and programming activities and gives clear indication of the progress and obvious criteria for code complete decisions (no more ’90% done, 90% work to do” syndrome).


 


Current Microsoft Office Smart Documents architecture or next Microsoft Visual Studio Tools for the Microsoft Office System Version 2005 or other tools like ASP.NET or plain Windows Forms are enablers for such idea.


 


http://fit.c2.com/ by Ward Cunningham or http://fitnesse.org/ by Robert C. Martin, both along with corresponding contributors represent implementations of this technique.


 


An executable document specification exercising on-demand the key components of a software system (the very same in the production build) with actual data representing authentic business scenarios (use case realizations) and reporting “ok, as expected” and “failed, expected-actual” results.


 


This is what current professionals and future generations of software developers are going to use as tools to alleviate problems with specification of business policy in software behavior.

Comments (3)

  1. Sounds like something I have been looking out for. Any pointers for more info on specific efforts ?

  2. Marco Dorantes says:

    As I said in my post, there are several implementations of the concept:

    http://fit.c2.com/

    http://fitnesse.org/

    here is one more:

    http://www.nolacom.com/avignon/

    I wrote an implentation of the concept with ASP.NET in a couple of days; it is not hard to design and program one for your particular needs.

    Currently I am learning Office APIs in order to write the next version of my implemention, again, it doesn’t look hard.

Skip to main content