Topic 1 Question 59
A developer is using AWS Amplify Hosting to build and deploy an application. The developer is receiving an increased number of bug reports from users. The developer wants to add end-to-end testing to the application to eliminate as many bugs as possible before the bugs reach production. Which solution should the developer implement to meet these requirements?
Run the amplify add test command in the Amplify CLI.
Create unit tests in the application. Deploy the unit tests by using the amplify push command in the Amplify CLI.
Add a test phase to the amplify.yml build settings for the application.
Add a test phase to the aws-exports.js file for the application.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: C
Explanation: Adding a test phase to the amplify.yml build settings allows the developer to define and execute end-to-end tests as part of the build and deployment process in AWS Amplify Hosting. This will help ensure that bugs are caught and fixed before the application reaches production, improving the overall quality of the application.
👍 4gpt_test2023/04/03 - 正解だと思う選択肢: C👍 3Untamables2023/03/26
- 正解だと思う選択肢: B
We can use amplify.yml file to run any test commands at build time. Since the test must run while the program is being deployed (E2E) I'll go with B.
👍 1rlnd20002023/05/22
シャッフルモード