Taher-Ghaleb opened a new pull request, #5982: URL: https://github.com/apache/hadoop/pull/5982
I am working on research that investigates test smell refactoring in which we identify alternative implementations of test cases, study how commonly used these refactorings are, and assess how acceptable they are in practice. For example, the smell in [TestSSLFactory.java](https://github.com/apache/hadoop/commit/bd7dd286f301e6d5cc6cce6c4807de537d0751c6#diff-7d45b4721db053c54aaa9a8019a4780e36a0b092f2377a00abe8c5b3ae4fc3ec) occurs when exception handling can alternatively be implemented using assertion rather than annotation: using `assertThrows(IllegalStateException.class, () -> {...});` instead of `@Test(expected = IllegalStateException.class)`. While there are many cases like this, we aim in this pull request to get your feedback on this particular test smell and its refactoring. Thanks in advance for your input. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
