(Andrew Gerrard has recently joined an IT company that develops software products and applications as a DevSecOps engineer. His team leader asked him to download a jar application from the organization GitHub repository and run the BDD security framework. Andrew successfully downloaded the jar application from the repository and executed the jar application; then, he cloned the BDD security framework. Which of the following commands should Andrew use to execute the authentication feature?.)
The BDD Security framework is executed through Gradle wrapper commands, and the correct wrapper script on Unix-like systems is ./gradlew (dot-slash indicates ''run the wrapper from the current directory''). Options using /gradlew or /gradlev imply an absolute path at filesystem root and are typically incorrect for a cloned project. Also, the wrapper name is gradlew, not gradlev. For executing only the authentication feature (or scenarios tagged for authentication), Cucumber tag expressions are used through the -Dcucumber.options system property. The command must include --tags @authentication to select authentication-tagged scenarios. To skip scenarios tagged ''skip,'' the exclusion operator is used as --tags ~@skip (meaning ''exclude @skip''). Options A and B incorrectly include --tags @skip which would include skipped tests rather than exclude them. Therefore, ./gradlew -Dcucumber.options='--tags @authentication --tags ~@skip' is the correct choice to run authentication scenarios while excluding anything marked to skip.
Aleshia
4 days agoDavida
9 days agoShelia
14 days agoLauran
19 days agoRosamond
2 months agoShay
2 months agoCatalina
2 months agoJessenia
3 months agoWava
3 months agoVincent
3 months agoLavera
3 months agoTammi
3 months agoAnastacia
4 months agoMan
4 months agoChu
4 months agoColeen
4 months agoCharlene
5 months agoTwana
5 months agoTatum
5 months agoLea
5 months agoVivan
6 months agoLaticia
6 months agoRoosevelt
6 months ago