History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: EJB-98
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Vance Karimi
Reporter: Olivier THIERRY
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
EJB Cartridge

Upgrade TestNG and Surefire plugin

Created: 14/Jan/08 11:13 AM   Updated: 23/Jan/08 03:56 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Text File patch-andromda.txt (2 kb)
2. Text File patch-andromda.txt (2 kb)
3. Text File patch-ejb-98.txt (1 kb)

Environment: AndroMDA 3.3 + EJB3 cartridge


 Description   
To use @BeforeSuite, @AfterSuite and similar annotations of TestNG in test classes, you need to upgrade to TestNG 5.x instead of 4.7 version as it is now in AndroMDA. EJB3 cartridge test templates need to be changed to avoid deprecated annotations. A the same time, it would be a good idea to upgrade Maven Surefire plugin too.

 All   Comments   Change History      Sort Order:
Comment by Olivier THIERRY [14/Jan/08 11:42 AM]
This JIRA has two patch files :
- The first one contains changes to andromda-all/andromdapp
- The second one contains changes to EJB3 cartridge.

Note that Maven Surefire plugin is not compatible with TestNG from version 5.3 so I upgraded to TestNG 5.1 only.

Comment by Olivier THIERRY [23/Jan/08 03:56 PM]
Surefire plugin 2.4 is now available on Maven 2 repository, so I upgraded to both TestNG 5.7 and Surefire 2.4.
The patch I supply upgrades from Surefire 2.2 to 2.4 and from TestNG 4.7 to 5.7