suvera / scim2-compliance-test-utility

SCIM 2.0 Compliance Test Utility
https://suvera.github.io/
MIT License
11 stars 6 forks source link

Suggestion: split edge case tests from normal tests #5

Closed christiaangoossens closed 2 months ago

christiaangoossens commented 3 months ago

I noticed that there were some tests that used edge cases to test normal flow, such as:

Splitting these tests could help users identify that their SCIM server is working on the basics (minimal or standards requests pass) but that it lacks specific edge cases (negative numbers, 0, undefined properties).

What do you think? I was grateful for the use of these edge cases, as it allowed me to find issues in the server, but it was a bit confusing why it failed and I had to reference the container logs quite a few times.

suvera commented 3 months ago

@christiaangoossens

This tool is aimed to test overall Compliance of the implementation. Yea I agree we should follow the Happy Path in general, as most of the scim implementations do that.

for #1: I think we have to change that to 1 in this tool. for #2: scim implementation has to fix. for #3: It's a limitation in this tool. I agree this tool should read the properties advertized by the server and prepare data accordingly.