Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break down SCIM modules and annotate SCIM tests #614

Merged
merged 8 commits into from
Feb 13, 2019
Merged

Conversation

neongreen
Copy link
Contributor

No new tests yet but there will be some.

@neongreen neongreen changed the title [WIP] Improve test coverage for SCIM Break down SCIM modules and annotate SCIM tests Feb 13, 2019
@neongreen neongreen requested a review from fisx February 13, 2019 09:46
@neongreen
Copy link
Contributor Author

neongreen commented Feb 13, 2019

  • Spar.Scim -> Spar.Scim.{Auth,User}

  • Test.Spar.ScimSpec -> Test.Spar.Scim.{AuthSpec,UserSpec}

  • Broke specs into individual functions with comments.

  • Removed unused imports and language pragmas.

@neongreen
Copy link
Contributor Author

Tests failed because stale files are not cleaned properly in the Ubuntu job 🔪

-- Related, but not the solution: https://github.com/hspec/hspec/pull/397
-- On the other hand, we cannot easily 'mkEnvFromOptions' inside each module, since it
-- requires @-s@, @-i@ command line modules, which will make 'hspec' choke. Related, but not
-- the solution: https://github.com/hspec/hspec/pull/397.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

describe "Spar.Data" Test.Spar.DataSpec.spec
describe "Spar.Intra.Brig" Test.Spar.Intra.BrigSpec.spec
describe "Spar.Scim" Test.Spar.ScimSpec.spec
describe "Spar.Scim.Auth" Test.Spar.Scim.AuthSpec.spec
Copy link
Contributor

@fisx fisx Feb 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this change. Test was for the test cases, everything else for the tooling. But ok, now it's changed. I hope I won't change it back at some point. :-)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never mind, that comment made no sense.

@neongreen neongreen merged commit 2d024a9 into develop Feb 13, 2019
@neongreen neongreen deleted the artyom-scim-tests branch February 13, 2019 12:05
This was referenced Feb 14, 2019
@neongreen neongreen mentioned this pull request Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants