DamnedElric commented on PR #227:
URL: https://github.com/apache/commons-net/pull/227#issuecomment-2002089418

   Hi @garydgregory ,
   
   I'll quote what I said on the mailing list, but the TL;DR; is that I'm 
awaiting feedback, and that I'll try to make some more progress.
   
   > Following Rob's suggestion, I migrated FTPSClientTest from @Parameterized 
to @Nested
   > 
   > The result so far can be found here: 
https://github.com/apache/commons-net/pull/227/commits/b14ee39cca486bda106758a48d31c91ad52d0d83
   > 
   > Basically the test methods were moved from FTPSClientTest.java [1] to 
AbstractFtpsTest.java [2]. The two @Parameterized values are then injected 
using @Nested.
   > 
   > The behaviour in maven is exactly the same as before. The behaviour in 
Eclipse bugs me a little, instead of asking both nested tests by default, it 
asks which one should be executed. But that seems to be the case with @Nested 
tests in general.
   > 
   > [1] 
https://github.com/apache/commons-net/blob/b14ee39cca486bda106758a48d31c91ad52d0d83/src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java
   > 
   > [2] 
https://github.com/apache/commons-net/blob/b14ee39cca486bda106758a48d31c91ad52d0d83/src/test/java/org/apache/commons/net/ftp/AbstractFtpsTest.java
   > 
   > Any feedback is welcome. I personally feel like this test case is a bit 
too complex to be easily grokked, and perhaps it can be improved a bit more 
after the JUnit migration.
   > 
   > 
   
   


-- 
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]

Reply via email to