[ 
https://issues.apache.org/jira/browse/HADOOP-18866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029931#comment-18029931
 ] 

ASF GitHub Bot commented on HADOOP-18866:
-----------------------------------------

github-actions[bot] commented on PR #5982:
URL: https://github.com/apache/hadoop/pull/5982#issuecomment-3404077881

   We're closing this stale PR because it has been open for 100 days with no 
activity. This isn't a judgement on the merit of the PR in any way. It's just a 
way of keeping the PR queue manageable.
   If you feel like this was a mistake, or you would like to continue working 
on it, please feel free to re-open it and ask for a committer to remove the 
stale tag and review again.
   Thanks all for your contribution.




> Refactor @Test(expected) with assertThrows
> ------------------------------------------
>
>                 Key: HADOOP-18866
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18866
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Taher Ghaleb
>            Priority: Minor
>              Labels: pull-request-available
>
> 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.
> The smell occurs when exception handling can alternatively be implemented 
> using assertion rather than annotation: using {{assertThrows(Exception.class, 
> () -> \{...});}} instead of {{{}@Test(expected = Exception.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 message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to