-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|