aditya-kumbhar commented on PR #200:
URL: 
https://github.com/apache/directory-scimple/pull/200#issuecomment-1345490364

   Thanks @bdemers for the feedback!
   Nondex will be updated to work with 17+ in a [later 
version](https://github.com/TestingResearchIllinois/NonDex/issues/179).
   
   Regarding debugging/attaching a debugger while using Nondex, this method 
works for me (in IntelliJ):
   
   1. Add [remote 
debug](https://spin.atomicobject.com/2020/08/20/maven-debugging-intellij/#:~:text=In%20the%20IDE%2C%20add%20debug,command%2C%20replacing%20mvn%20with%20mvnDebug%20.&text=In%20IntelliJ%2C%20make%20sure%20your,press%20the%20%E2%80%9CDebug%E2%80%9D%20button.)
 configuration in IntelliJ with port 5005.
   2. Add debug breakpoints.
   3. Run `mvn nondex` with ` -Dmaven.surefire.debug`. For example, to run the 
command in this PR in debug mode:
   `mvn -pl scim-spec/scim-spec-schema 
edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dmaven.surefire.debug 
-Denforcer.skip=true 
-Dtest=org.apache.directory.scim.spec.resources.PhoneNumberBuilderTest`
   
   The mvn command should attach to the IntelliJ debugger.
   
   Another note: to reproduce a flaky test detected using Nondex without having 
to run all the Nondex iterations again, we can use the reported Nondex seed and 
pass it as a parameter. 
   For example, if the reported Nondex seed is 933178, following command can be 
used to replicate the Nondex configuration and reproduce the test failure:
   `
   mvn -pl scim-spec/scim-spec-schema 
edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dmaven.surefire.debug 
-Dtest=org.apache.directory.scim.spec.resources.PhoneNumberBuilderTest 
-DnondexSeed=933178
   `
   
   


-- 
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: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to