You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Cameron Lee (JIRA)" <ji...@apache.org> on 2018/04/20 18:32:00 UTC
[jira] [Created] (SAMZA-1678) Remove powermock dependency
Cameron Lee created SAMZA-1678:
----------------------------------
Summary: Remove powermock dependency
Key: SAMZA-1678
URL: https://issues.apache.org/jira/browse/SAMZA-1678
Project: Samza
Issue Type: Improvement
Components: test
Reporter: Cameron Lee
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)