Closed johnbabb closed 6 years ago
@kateblanch , @dylan-k please review the tests that i have listed. As mentioned the test check the endpoints to make sure they are returning data. also anything reference to "issue
Also, a return code 200 returned means everything was returned and there was no error, and the should not have error messages in the response of the body also validates the data returned had no errors.
I've completed testing for Collections, Objects and Exhibitions. I will continue testing tomorrow. My UAT scenarios are not as narrative as yours, John - but I'm thoroughly testing each parameter and validating the data set. I feel like this is the best way for me to contribute...
All pass so far, which totally rocks!
b. Name parameter contains “art” = api.thewalters.org/v1/collections.JSON?name=art Should return 8 results in JSON. PASS
c. Description parameter contains “gold” = api.thewalters.org/v1/collections?desc=gold Should return 3 results in XML. PASS
d. Keyword parameter contains “kozuka” = api.thewalters.org/v1/collections?keyword=kozuka Should return 1 result in XML. PASS (issue #5)
b. Creator parameter contains “Monet” = http://api.thewalters.org/v1/objects?creator=Monet Should return 2 results. PASS (Issue #5 )
c. Result set is up to date and unnecessary fields have been removed, fields are named correctly, and no unexpected null fields exist. PASS (Issue #5, #32, #33 )
b. Textblock parameter contains “Cincinnati” = Should return 6 results. Cincinnati is spelled wrong 5 times in TMS! Oy! PASS (Issue #14, Issue #27 )
c. DisplayDate parameter contains “March 1, 2003” Should return 1 result. PASS (Issue #14, Issue #27 )
d. BeginYear parameter = 1851 Should return 2 results. PASS(Issue #14, Issue #27 )
e. EndYear parameter = 1851 Should return 2 results. PASS (Issue #14, Issue #27 )
f. BeginYear and EndYear return a between range when both present where Begin Year = 1970 and End Year = 1975
Should return 22 results.
When range searching, exhibitions with no end year (which is expressed as 0 in the data) are included in search results. Minor.
PASS (Issue #14, Issue #27 )
Geographies
Museum Locations
All the parameter logic returns the correct results and each result set contains the correct fields. Great work!
Wam.Api.Tests
As a user making a request to v1/collections/{id}/objects- Then it should have a return code 200 returned
- And it should not have error messages
I want to get objects by the collection they are in, by collection id
so that I can get other information about the objects in the collection.
When Getting V1 Collection 1 Objects
As a user making a request to v1/collections- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
I want to get objects by the collections they are in, by collection id
so that I can get other information about the objects in the collection.
When Getting V1 Collections
As a user making a request to v1/collections- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should have a record where the collection id is 7
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should have a record where the collection id is 7
I want to get objects by the exhibitions they are in, by exhibition id
so that I can get other information about the objects in the exhibitions.
When Getting V1 Collections By Desc Tiffany Issue #5
When Getting V1 Collections By Name Century Issue #5
As a user making a request to v1/collections- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should have a record where the collection id is 7
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should have a record where the collection id is 1
I want to get objects by the collections they are in, by collection id
so that I can get other information about the objects in the collections.
When Getting V1 Collections By Keyword Century Issue #5
When Getting V1 Collections By Keyword Chinese Issue #5
As a user making a request to v1/exhibitions- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search term
I want to get an list of exhibitions
so that I can get other information about the exhibitions.
When Getting V1 Exhibitions
When Getting V1 Exhibitions By Title Of Painting Issue #27
As a user making a request to v1/exhibitions/{id}/objects- Then it should have a return code 200 returned
- And it should not have error messages
- Then it should have a return code 200 returned
- And it should not have error messages
I want to get objects by the exhibitions they are in, by exhibition id
so that I can get other information about the objects in the exhibitions.
When Getting V1 Exhibitions 10 Objects
When Getting V1 Exhibitions 2699 Objects Issue #15
As a user making a request to v1/geographies- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search term
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search term
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search term
I want to get geographys
so that I can get other information about the geographies.
When Getting V1 Geographies
When Getting V1 Geographies By Geohierarchy Of Puerto Issue24
When Getting V1 Geographies By Geoterm Of Honduras Issue24
When Getting V1 Geographies By Geotype Origin Issue24
As a user making a request to v1/geographies/{id}/objects- Then it should have a return code 200 returned
- And it should not have error messages
- Then it should have a return code 200 returned
- And it should not have error messages
I want to get objects by the geography they are in, by geography id
so that I can get other information about the objects in the geography.
When Getting V1 Geographies 605803 Objects
When Getting V1 Geographies 647324 Objects Issue #17
As a user making a request to v1/museum/locations- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search term
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search term
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search term
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search term
- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
- And it should return records that all contain the search terms
I want to get museum locations
so that I can get other information about the museum locations.
When Getting V1 Museum Locations
When Getting V1 Museum Locations By Display Of Second Issue #28
When Getting V1 Museum Locations By Display Of Second Issue #30
When Getting V1 Museum Locations By Location Id Of 3634 Issue #28
When Getting V1 Museum Locations By Public Access Of True Issue #28
When Getting V1 Museum Locations By Site And Room Of Cen And 200 Issue #30
As a user making a request to v1/museum/locations/{id}/objects- Then it should have a return code 200 returned
- And it should not have error messages
I want to get objects by the museum location they are in, by location id
so that I can get other information about the objects in the museum location.
When Getting V1 Museum Locations 398 Objects
As a user making a request to v1/objects/{id}- Then it should have a return code 200 returned
- And it should not have error messages
- And it should have the same id returned
- And it should have one primary image
I want to get an object by its id
so that I can get other information about the object.
When Getting V1 Object By Id 15663
As a user making a request to v1/objects- Then it should have a return code 200 returned
- And it should not have error messages in the response of the body
I want to get an list of objects
so that I can get other information about the objects.
When Getting V1 Objects