GraphQL with Eclipse Vert.x Part 3
Автор: Yuri Mednikov
Загружено: 2023-01-19
Просмотров: 179
This is third and the final part of the series on building GraphQL servers with Eclipse Vert.x 4. In the previous episode we completed the implementation of our application. In this part we will observe how to write automated API tests to verify the behaviour of the web layer. The process of writing such tests for GraphQL endpoints is a bit different from REST endpoints, however as we make use of the HTTP protocol under the hood, we employ standard tools, like Vert.x WebClient.
00:00 - Start. Setup the API test for GraphQL server
03:29 - Testing the CreateEmployee mutation
07:47 - Testing the UpdateEmployee mutation
11:02 - Testing the RemoveEmployee mutation
14:24 - Don’t forget about EmployeeList
15:00 - Testing the AllEmployees query
20:35 - Testing the Employee query, when the employee does not exist
24:25 - Testing the Employee query, when the employee does exist
Source code: https://git.yurimednikov.xyz/yuri/ver...
#java #vertx #cloudcomputing #softwarearchitecture #softwaretesting #api #javaprogramming #javadeveloper #softwaredeveloper #coding
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: