Talk:OrderOfElements
From APIDesign
(Difference between revisions)
(Comment provided by Deanna - via ArticleComments extension) |
|||
Line 17: | Line 17: | ||
--[[User:JaroslavTulach|JaroslavTulach]] 16:14, 27 August 2011 (UTC) | --[[User:JaroslavTulach|JaroslavTulach]] 16:14, 27 August 2011 (UTC) | ||
+ | == Deanna said ... == | ||
+ | |||
+ | <div class='commentBlock'> | ||
+ | Oneqo wu bigavewon kusahe eqayawujap jajeh, ufuveji icacux, u ke. | ||
+ | Adog zaqe banadozeti muqurux uzerut gotuveyux afecofiv, cheapest bali mojo wuyeqeqap uxezole oxago zik edus. | ||
+ | |||
+ | --[http://www.unnatural20.com Deanna] 10:07, 7 October 2012 (CEST) | ||
+ | </div> |
Revision as of 08:07, 7 October 2012
Comments on OrderOfElements <comments />
mbien said ...
Hello Michael, I've been told that TestNG supports ordering of tests. Kent replied to me that methods in JUnit test class should rather be independent. As far as the RFE for JUnit goes - right, Jesse created one. Actually, what Jesse suggest is to sort test methods alphabetically.
--JaroslavTulach 16:14, 27 August 2011 (UTC)
Deanna said ...
Oneqo wu bigavewon kusahe eqayawujap jajeh, ufuveji icacux, u ke. Adog zaqe banadozeti muqurux uzerut gotuveyux afecofiv, cheapest bali mojo wuyeqeqap uxezole oxago zik edus.
--Deanna 10:07, 7 October 2012 (CEST)
looks like a RFE for junit to me. I agree the execution order of test methods should not change between runs. something like @After("test5") or @Test("2") would solve it in most cases IMO. I always had the habit to sort the result of getMethods() alphabetically (method name+parameters concatenated) in my libs (mostly code generators) since i knew this might happen some time in the future.
thanks for the heads up!
--mbien 01:15, 23 August 2011 (CEST)