1
Suggestions and Requests / Re: Code generation - documentation
« on: November 27, 2007, 03:37:10 pm »
It will be awesome if such functionality will be available. I would love to have the constrains available in the template.
For generated test JML or C# OCL it needs to go into notes section, and this is horrible practice
, the other alternative is to use XMI to generate the code.
Some links about why it is so important:
http://www.ewebsimplex.net/csocl/ or
http://ftp://ftp.cs.iastate.edu/pub/leavens/JML/jmldbc.pdf
For generated test JML or C# OCL it needs to go into notes section, and this is horrible practice
, the other alternative is to use XMI to generate the code. Some links about why it is so important:
http://www.ewebsimplex.net/csocl/ or
http://ftp://ftp.cs.iastate.edu/pub/leavens/JML/jmldbc.pdf
I guess I will just use the an OCL constraint on the transition, that will capture the logic of the if condition. I showed in the pseudo code.