Skip to content

Commit

Permalink
youcat: add intTest README
Browse files Browse the repository at this point in the history
  • Loading branch information
pdowler committed Jul 17, 2024
1 parent 0f142c7 commit 0ed4550
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions youcat/src/intTest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# youcat local integration tests

The integration tests lookup and test `ivo://opencadc.org/youcat` which should only
ever be found in a local DEVELOPMENT registry. It is not safe to run the tests against
a database where you care about the content!

The tests use a schema named `int_test_schema`.

The following x509 client certificates are found in `$A/test-certificates` and used to
execute the tests:
- youcat-admin.pem : used to create the test schema, same ident must be configured as the admin in the deployed service
- youcat-owner.pem : the owner of the test schema
- youcat-member.pem : member of a group that you-cat-owner grants read-write access to

The tests are curently only runnable by CADC staff because of ard coded setup and assumptions about external
content (group in GMS). The test group is currently hard coded to one in the `ivo://cadc.nrc.ca/gms` GMS service.

Tested: youcat-admin == personal account, youcat-owner == cadcauthtest1, youcat-member == cadcauthtest2

0 comments on commit 0ed4550

Please sign in to comment.