|
Hi Wouter, Wouter Zoons wrote: you are completelly right... :-DShouldn't you test ALL modeled operations ? :-) my point for using tagged values is to have a place in which I define the name of the tests for each operation. For example if I have a savePurchaseOrder, I would like to define testOrderWithoutItems, testOrderWithOneItem, testOrderWithoutShippmentDate etc... The idea is that a template should process all the services (since as you told me, all of them should be tested). On the other hand, I would modify the Metafacades in order to implement a method like hasTestDefined. I also think this should be PIM and modeled on the core so they are defined for all operations of cartridges.... maybe at OperationFacade ??And I recommend using stereotypes instead of tagged values Carlos Anyway, good idea .. always nice to be able to (stress) test server side components -- Wouter-----Original Message----- From: [EMAIL PROTECTED] [mailto:andromda-user- [EMAIL PROTECTED]] On Behalf Of Carlos Cuenca Sent: Wednesday, October 27, 2004 8:45 PM To: andromda-user Subject: [Andromda-user] junit test Hi, I am trying to implement test specifications within a Andromda model. My idea is to mark some of the services methods as testable. There will be a tagged value in which you will specify the name of the test that should be done to the class. When this tagged value is present, then the methods test will be codified. There should be an interface of the test and a implementation (as usual). Test will be activated calling a servlet which will be created for this purpose. Has anyone started with this yet? ... What do you think about this idea? Thanks Carlos ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user |
- RE: [Andromda-user] junit test Carlos Cuenca
- RE: [Andromda-user] junit test Wouter Zoons
- Re: [Andromda-user] junit test Carlos Cuenca
