Talk:OrderOfElements
From APIDesign
(Difference between revisions)
(Comment provided by mbien - via ArticleComments extension) |
(Comment provided by mbien - via ArticleComments extension) |
||
Line 12: | Line 12: | ||
--[http://michael-bien.com mbien] 01:15, 23 August 2011 (CEST) | --[http://michael-bien.com mbien] 01:15, 23 August 2011 (CEST) | ||
+ | </div> | ||
+ | == mbien said ... == | ||
+ | |||
+ | <div class='commentBlock'> | ||
+ | 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! | ||
+ | |||
+ | --[http://michael-bien.com mbien] 01:16, 23 August 2011 (CEST) | ||
</div> | </div> |
Revision as of 23:16, 22 August 2011
Comments on OrderOfElements <comments />
mbien said ...
mbien said ...
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:16, 23 August 2011 (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)