Guest User

Untitled

a guest
May 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.09 KB | None | 0 0
  1. # Integration Tests for the Master Facility Register API
  2.  
  3. ## Authentication Test Suite
  4. ### Login Test
  5. > It...
  6. Allows an Administrator Client to Login successfully into the Master Facility Register
  7.  
  8. > It...
  9. Displays appropriate error message when Unauthenticated Client tries to login
  10.  
  11. ## Facility Test Suite
  12. ### ListFacilitiesTest
  13. > It...
  14. Allows anyone to View a List of Published Facilities
  15.  
  16. ### DownloadFacilitiesTest
  17. > It...
  18. Allows anyone to download a copy of facilities matching a user defined query in a user defined file format
  19.  
  20. ### ShowFacilityDetailsTest
  21. > It…
  22. Allows anyone to View the Basic Details of a Facility
  23.  
  24. > It…
  25. Allows anyone to View the Contact Details of a Facility
  26.  
  27. > It…
  28. Allows anyone to View the Resources belonging to a specific Facility
  29.  
  30. > It…
  31. Allows anyone to View the Utilities belonging to a specific Facility
  32.  
  33. > It…
  34. Allows anyone to View the Services belonging to a Specific Facility
  35.  
  36. ### DownloadFacilitiesTest
  37. > It...
  38. Allows anyone to download details of a user specified facility in PDF Format
  39.  
  40. ### CreateFacilityTest
  41.    > It…
  42. Allows Authorized Administrator to Create Basic Details of a Facility
  43.  
  44. > It…
  45. Automatically generates a Facility Code upon creation of Basic Details
  46.  
  47. > It…
  48. Displays appropriate error message when an Unauthorized Client attempts to create Facility Basic Details
  49.  
  50. > It…
  51. Allows the same Authorized Administrator Who Created the Basic Details to Create Location Details of a Facility
  52.  
  53. > It…
  54. Displays appropriate error message when a different Authorized Administrator attempts to Create Location Details of a Facility
  55.  
  56. > It…
  57. Displays appropriate error message when an Unauthorized Client attempts to Create Location Details of a Facility
  58.  
  59. > It…
  60. Allows the same Authorized Administrator Who Created the Basic Details to Assign Resources to the Facility
  61.  
  62. > It…
  63. Displays appropriate error message when a Different Authorized Administrator attempts to Assign Resources to a Facility
  64.  
  65. > It…
  66. Displays appropriate error message when an Unauthorized Client attempts to Assign Resources to a Facility
  67.  
  68. > It…
  69. Allows the same Authorized Administrator Who Created the Basic Details to Assign Utilities to the Facility
  70.  
  71. > It…
  72. Displays appropriate error message when a Different Authorized Administrator attempts to Assign Utilities to a Facility
  73.  
  74. > It…
  75. Displays appropriate error message when an Unauthorized Client attempts to Assign Utilities to a Facility
  76.  
  77. > It…
  78. Allows the same Authorized Administrator Who Created the Basic Details to Assign Utilities to the Facility
  79.  
  80. > It…
  81. Displays appropriate error message when a Different Authorized Administrator attempts to Assign Services to a Facility
  82.  
  83. > It…
  84. Displays appropriate error message when an Unauthorized Client attempts to Assign Services to a Facility
  85.  
  86. ### PublishFacilityTest
  87. > It...
  88. Allows the same Authorized Administrator who Crreated the Basic Details to Publish the Facility
  89.  
  90. ### EditFacilityTest
  91. > It...
  92. Allows an Authorized Administrator to Edit Basic Details of a Facility
  93.  
  94. > It...
  95. Displays appropriate error message when an Unauthorized Client attempts to Edit Basic Details of a Facility
  96.  
  97. > It...
  98. Allows an Authorized Administrator to Edit Contact Details of a Facility
  99.  
  100. > It...
  101. Displays appropriate error message when an Unauthorized Client attempts to Edit Contact Details of a Facility
  102.  
  103. > It...
  104. Allows an Authorized Administrator to Re-assign Resources to a Facility
  105.  
  106. > It...
  107. Displays appropriate error message when an Unauthorized Client attempts to Re-assign Resources of a Facility
  108.  
  109. > It...
  110. Allows an Authorized Administrator to Re-assign Utilities of a Facility
  111.  
  112. > It...
  113. Displays appropriate error message when an Unauthorized Client attempts to Re-assign Utilities of a Facility
  114.  
  115. > It...
  116. Allows an Authorized Administrator to Re-assign Services of a Facility
  117.  
  118. > It...
  119. Displays appropriate error message when an Unauthorized Client attempts to Re-assign Services of a Facility
  120.  
  121. ### ArchiveFacilityTest
  122. > It...
  123. Allows Authorized Administrator to Archive a Facility
  124.  
  125. > It...
  126. Displays appropriate error message when an Unauthorized Client attempts to Archive a Facility
  127.  
  128. ## Client Test Suite
  129. ### ListClientsTest
  130. > It…
  131. Allows an Authorized Client to view a list of Clients from the MFL
  132.  
  133. > It…
  134. Displays appropriate error message when an Unauthorized Client attempts to view a list of Clients
  135.  
  136. ### CreateClientTest
  137. > It…
  138. Allows an Authorized Client to Create a New Client in the MFL
  139.  
  140. > It…
  141. Displays appropriate validation errors when invalid Client Details are provided by an Authenticated Client
  142.  
  143. > It…
  144. Displays appropriate error message when an Unauthorized Client attempts to Create a New Client in the MFL
  145.  
  146. ### EditClientTest
  147. > It…
  148. Allows an Authorized Administrator Client to Edit their Own details in the MFL
  149.  
  150. > It…
  151. Displays appropriate error message when Administrator attempts to Edit Another Administrator’s Details
  152.  
  153. > It…
  154. Displays appropriate error message when Unauthorized Client tries to Edit an Administrator’s Details
  155.  
  156. > It…
  157. Displays appropriate validation errors when Administrator provides Wrong Details
  158.  
  159. ### ChangeClientPasswordTest
  160. > It…
  161. Allows an Authorized Administrator to change their own Password
  162.  
  163. > It…
  164. Allows an Authorized Administrator to change another Administrator’s Password
  165.  
  166. > It...
  167. Displays appropriate error message when Unauthorized Client attempts to change another Administrator’s Password
  168.  
  169. ### ArchiveClientTest
  170. > It…
  171. Allows an Authorized Administrator Client to Archive another Administrator Client
  172.  
  173. > It…
  174. Displays appropriate error message when Unauthorized Client tries to Archive another Administrator Client
Add Comment
Please, Sign In to add comment