Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1678

Remove powermock dependency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • test
    • None

    Description

      Powermock is powerful, but it can also be hard to write and maintain tests that use it because it has to do some complex things to provide its functionality. It should be possible avoid using Powermock in tests, although it may be required to refactor some classes (e.g. add some "test" constructors, expose some instance methods to tests) in order to remove it.

      By removing it, we can avoid more Powermock tests getting added in the future. This can help enforce clean and testable class design, since Powermock will not be an option for testing classes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cameronlee Cameron Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: