Michael I dont see how upgrading Junit would have a 'direct impact' on any of the current releases of Ant(except for Ivy ) however There are many shoppes which run Junit under a Automated Test-framework such as selenium Generally there are release notes bundled which each version of Ant ..it would be a good idea to incorporate into these release notes this Junit upgrade addressing possible hardcoded dependency relationships for current Junit3 Testcases to be addressed with the new Junit4
Here is an example of Junit4 Testcases under Selenium(running as a plugin under Eclipse)http://selftechy.com/2011/03/23/running-selenium-tests-with-junit-4 Many Thanks for pushing our test-scenarios into the 21st century Please keep us apprised of your progress.. Martin______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 7 Mar 2013 20:48:57 +0000 Subject: Suggestion - JUnit4 tests for Ant From: michael.m.cla...@gmail.com To: dev@ant.apache.org I'd like to make a proposal around unit testing the Ant core. Whilst Ant has support for JUnit4, most of the unit tests are written against JUnit 3. This itself isn't an issue, although some of the existing test structures prevent new test being written in JUnit4. I'd like to propose introducing some JUnit4 support into Ant's tests. One big possibility is in BuildFileTest, which currently extends TestCase so limits any extending class to JUnit 3. In my attached patch I've split this into a Junit4 rule - BuildFileRule - and a class to provide Assert functions not currently in Junit's bundled Asserts. I've also migrated a couple of existing tests as an example of using these new classes. Aside from other features available under JUnit4, this change allows reporting of which tests are skipped per configuration on the CI builds (for tests that use JUnit's Assume class rather than just return). This should make it easy to tell what features are actually being checked on each build. Does anyone have any objection to such a change and, if no objections, should I look to migrate more classes? I don't have commit access to Ant so would need someone to apply any patches for me - I'm happy to email them to this list or put the changes into Github (or similar) for someone to pull if wanted. Any comments or suggestions appreciated. Thanks,Michael --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org