Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-296

Handle @Test inheritance as Junit 4 does

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      If you create a base test class and annotate methods with @Test, then inherit it in some other classes and override methods without adding @Test Junit 4 will be able to pickup them and run as tests. Unfortunately Clover will not know that these are tests automatically unless you add @Test to them. I understand that annotations are not inherited in Java and Junit 4 does "some magic" (didn't have time to check exactly what it does) to find them.

      Decide if we want to follow Junit's approach or we stick with Java language specification.

            [CLOV-296] Handle @Test inheritance as Junit 4 does

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3342274 ] New: JAC Suggestion Workflow 3 [ 3584448 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Michael Andreacchio made changes -
            Backlog Order (Obsolete) Original: 1080000000
            Workflow Original: New Clover Workflow [ 898227 ] New: JAC Suggestion Workflow [ 3342274 ]
            Issue Type Original: Improvement [ 4 ] New: Suggestion [ 10000 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Michael Andreacchio made changes -
            Resolution New: Won't Fix [ 2 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]
            Marek Parfianowicz made changes -
            Assignee Original: Marek Parfianowicz [ mparfianowicz ]
            Piotr Swiecicki made changes -
            Workflow Original: Clover Workflow [ 896587 ] New: New Clover Workflow [ 898227 ]
            Piotr Swiecicki made changes -
            Workflow Original: reviewflow [ 130065 ] New: Clover Workflow [ 896587 ]
            Marek Parfianowicz made changes -
            Fix Version/s New: long term roadmap [ 54394 ]
            Fix Version/s Original: 4.2.x [ 26216 ]
            Marek Parfianowicz made changes -
            Rank New: Ranked higher
            Marek Parfianowicz made changes -
            Assignee Original: Nick [ npellow ] New: Marek Parfianowicz [ mparfianowicz ]
            Marek Parfianowicz made changes -
            Fix Version/s New: 3.1.10 [ 26216 ]
            Fix Version/s Original: someday [ 23593 ]

              Unassigned Unassigned
              pniewiadomski Pawel Niewiadomski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: