Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Integration Tests for the Master Facility Register API
- ## Authentication Test Suite
- ### Login Test
- > It...
- Allows an Administrator Client to Login successfully into the Master Facility Register
- > It...
- Displays appropriate error message when Unauthenticated Client tries to login
- ## Facility Test Suite
- ### ListFacilitiesTest
- > It...
- Allows anyone to View a List of Published Facilities
- ### DownloadFacilitiesTest
- > It...
- Allows anyone to download a copy of facilities matching a user defined query in a user defined file format
- ### ShowFacilityDetailsTest
- > It…
- Allows anyone to View the Basic Details of a Facility
- > It…
- Allows anyone to View the Contact Details of a Facility
- > It…
- Allows anyone to View the Resources belonging to a specific Facility
- > It…
- Allows anyone to View the Utilities belonging to a specific Facility
- > It…
- Allows anyone to View the Services belonging to a Specific Facility
- ### DownloadFacilitiesTest
- > It...
- Allows anyone to download details of a user specified facility in PDF Format
- ### CreateFacilityTest
- > It…
- Allows Authorized Administrator to Create Basic Details of a Facility
- > It…
- Automatically generates a Facility Code upon creation of Basic Details
- > It…
- Displays appropriate error message when an Unauthorized Client attempts to create Facility Basic Details
- > It…
- Allows the same Authorized Administrator Who Created the Basic Details to Create Location Details of a Facility
- > It…
- Displays appropriate error message when a different Authorized Administrator attempts to Create Location Details of a Facility
- > It…
- Displays appropriate error message when an Unauthorized Client attempts to Create Location Details of a Facility
- > It…
- Allows the same Authorized Administrator Who Created the Basic Details to Assign Resources to the Facility
- > It…
- Displays appropriate error message when a Different Authorized Administrator attempts to Assign Resources to a Facility
- > It…
- Displays appropriate error message when an Unauthorized Client attempts to Assign Resources to a Facility
- > It…
- Allows the same Authorized Administrator Who Created the Basic Details to Assign Utilities to the Facility
- > It…
- Displays appropriate error message when a Different Authorized Administrator attempts to Assign Utilities to a Facility
- > It…
- Displays appropriate error message when an Unauthorized Client attempts to Assign Utilities to a Facility
- > It…
- Allows the same Authorized Administrator Who Created the Basic Details to Assign Utilities to the Facility
- > It…
- Displays appropriate error message when a Different Authorized Administrator attempts to Assign Services to a Facility
- > It…
- Displays appropriate error message when an Unauthorized Client attempts to Assign Services to a Facility
- ### PublishFacilityTest
- > It...
- Allows the same Authorized Administrator who Crreated the Basic Details to Publish the Facility
- ### EditFacilityTest
- > It...
- Allows an Authorized Administrator to Edit Basic Details of a Facility
- > It...
- Displays appropriate error message when an Unauthorized Client attempts to Edit Basic Details of a Facility
- > It...
- Allows an Authorized Administrator to Edit Contact Details of a Facility
- > It...
- Displays appropriate error message when an Unauthorized Client attempts to Edit Contact Details of a Facility
- > It...
- Allows an Authorized Administrator to Re-assign Resources to a Facility
- > It...
- Displays appropriate error message when an Unauthorized Client attempts to Re-assign Resources of a Facility
- > It...
- Allows an Authorized Administrator to Re-assign Utilities of a Facility
- > It...
- Displays appropriate error message when an Unauthorized Client attempts to Re-assign Utilities of a Facility
- > It...
- Allows an Authorized Administrator to Re-assign Services of a Facility
- > It...
- Displays appropriate error message when an Unauthorized Client attempts to Re-assign Services of a Facility
- ### ArchiveFacilityTest
- > It...
- Allows Authorized Administrator to Archive a Facility
- > It...
- Displays appropriate error message when an Unauthorized Client attempts to Archive a Facility
- ## Client Test Suite
- ### ListClientsTest
- > It…
- Allows an Authorized Client to view a list of Clients from the MFL
- > It…
- Displays appropriate error message when an Unauthorized Client attempts to view a list of Clients
- ### CreateClientTest
- > It…
- Allows an Authorized Client to Create a New Client in the MFL
- > It…
- Displays appropriate validation errors when invalid Client Details are provided by an Authenticated Client
- > It…
- Displays appropriate error message when an Unauthorized Client attempts to Create a New Client in the MFL
- ### EditClientTest
- > It…
- Allows an Authorized Administrator Client to Edit their Own details in the MFL
- > It…
- Displays appropriate error message when Administrator attempts to Edit Another Administrator’s Details
- > It…
- Displays appropriate error message when Unauthorized Client tries to Edit an Administrator’s Details
- > It…
- Displays appropriate validation errors when Administrator provides Wrong Details
- ### ChangeClientPasswordTest
- > It…
- Allows an Authorized Administrator to change their own Password
- > It…
- Allows an Authorized Administrator to change another Administrator’s Password
- > It...
- Displays appropriate error message when Unauthorized Client attempts to change another Administrator’s Password
- ### ArchiveClientTest
- > It…
- Allows an Authorized Administrator Client to Archive another Administrator Client
- > It…
- Displays appropriate error message when Unauthorized Client tries to Archive another Administrator Client
Add Comment
Please, Sign In to add comment