Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently HK2 only supports JUnit. It would be awesome if TestNG was also supported.

        Activity

        Hide
        saden added a comment -

        I have created a project that adds HK2 support to TestNG. The project can be found in the below link.

        https://github.com/saden1/hk2-testng

        I would love to see this code integrated into HK2's test module.

        Show
        saden added a comment - I have created a project that adds HK2 support to TestNG. The project can be found in the below link. https://github.com/saden1/hk2-testng I would love to see this code integrated into HK2's test module.
        Hide
        jwells added a comment -

        Would you mind if we take your code (almost) as-is? We would have to change package names, but I've looked at it and it seems ok to me.

        Show
        jwells added a comment - Would you mind if we take your code (almost) as-is? We would have to change package names, but I've looked at it and it seems ok to me.
        Hide
        saden added a comment -

        Please do! The code is public domain and my intent was to contribute it to HK2.

        Show
        saden added a comment - Please do! The code is public domain and my intent was to contribute it to HK2.
        Hide
        saden added a comment - - edited

        Also, I recently updated the code (~2 hours ago) to add support for annotation inheritance. If you missed this recent addition in your initial review please be sure to take a look that too and include it into HK2.

        Show
        saden added a comment - - edited Also, I recently updated the code (~2 hours ago) to add support for annotation inheritance. If you missed this recent addition in your initial review please be sure to take a look that too and include it into HK2.
        Hide
        jwells added a comment -

        Picked up saden's implementation (including inheritance support).

        Thanks saden!

        Show
        jwells added a comment - Picked up saden's implementation (including inheritance support). Thanks saden!

          People

          • Assignee:
            jwells
            Reporter:
            saden
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: