You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2014/03/05 04:13:43 UTC
[jira] [Commented] (BIGTOP-1224) Provide a simple order for tests
[ https://issues.apache.org/jira/browse/BIGTOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920428#comment-13920428 ]
jay vyas commented on BIGTOP-1224:
----------------------------------
Okay so to use this all we have to do is extend OrderedTest and add -1/0/1 as annotations? If so thats a nice utility to have.
But, just a thought, do we really want to encourage people to write dependent unit tests? it could lead to alot of very unmodular tests.
> Provide a simple order for tests
> --------------------------------
>
> Key: BIGTOP-1224
> URL: https://issues.apache.org/jira/browse/BIGTOP-1224
> Project: Bigtop
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 0.7.0
> Reporter: Konstantin Boudnik
> Assignee: Konstantin Boudnik
> Fix For: 0.8.0
>
> Attachments: BIGTOP-1224.patch
>
>
> There are situations where test order is important and its lack causes test failure. E.g. I see a number of failures in quota testing in hadoop smokes caused by wrong order of the test cases.
> iTest currently has a mechanism to order parametrized tests. However, parametrization seems like an overkill in some cases. For those a simple ordering will be sufficient.
--
This message was sent by Atlassian JIRA
(v6.2#6252)