bdemers commented on issue #427:
URL: 
https://github.com/apache/directory-scimple/issues/427#issuecomment-1841422206

   @joshuapsteele starting the thread here works, if we figure out it's 
something else, we can move it to another issue later.
   
   Here is some background, hopefully this helps you troubleshoot, we can try 
to collect more info.
   
   The IT's are are created in the `scim-compliance-tests` module and are 
executed in other modules (Spring support, other examples, etc).
   
   **NOTE:** IIRC, the Quarkus example is a special case to ensure everything 
works with the Quarkus tools
   
   Because of this, no tests are executed as part of the 
`scim-compliance-tests` module.  But if you run the full build, you should see 
the failsafe plugin execute the ITs in the other module, for example you should 
see the test result file:
   
   
`scim-server-examples/scim-server-jersey/target/failsafe-reports/org.apache.directory.scim.compliance.tests.GroupsIT.txt`
 
   
   The other thing you may see is the build cache, after running a clean build 
once, your next clean build (assuming you didn't make any changes) would get a 
lot of cache hits.
   
   You can disable the build cache by using the flag: 
`-Dgradle.cache.local.enabled`, e.g.:
   
   ```sh
   ./mvnw clean install -Dgradle.cache.local.enabled=false
   ```
   
   Hopefully that helps, and if that was the problem, I can add this info to 
the README or some sort of CONTRIB guide (interested in your thoughts)
   
   ---
   
   One other note, you _should_ be able to run a single IT from your IDE (from 
the `scim-compliance-tests` module), by default that test will try to run 
against a SCIM server at: `http://localhost:8080/v2`
   
   If that doesn't match your server under test URL, you can quickly hack up:
   
https://github.com/apache/directory-scimple/blob/develop/scim-compliance-tests/src/main/java/org/apache/directory/scim/compliance/tests/ScimpleITSupport.java#L51-L52
   
   But to make that more flexible, we could add something here:
   
https://github.com/apache/directory-scimple/blob/develop/scim-compliance-tests/src/main/java/org/apache/directory/scim/compliance/junit/EmbeddedServerExtension.java#L56
   
   Maybe read from a system property `scimple.it.url` or something 🤷 
   
   The goal of this is to facility quickly running individual tests or while 
iterating on adding a new IT (without needing to run the full test-suite or 
build)
   
   Hopefully this helps!!
   
   
   


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

Reply via email to