1.
What does Calabash allow you to do?
Correct Answer
D. To write and execute tests that validate the functionality of iOS and Android apps.
Explanation
Calabash is a testing framework that allows developers to write and execute tests for both iOS and Android apps. It provides a way to validate the functionality of apps on both mobile platforms, making it a versatile tool for testing mobile applications.
2.
What language is Calabash written in?
Correct Answer
D. Cucumber
Explanation
Cucumber is the correct answer because Calabash is a cross-platform mobile automation tool that allows writing automated tests for mobile applications. It is specifically designed to work with Cucumber, which is a popular behavior-driven development (BDD) framework. Therefore, Calabash is written in Cucumber, making it the appropriate choice.
3.
Which platform does Calabash cooperate with?
Correct Answer
C. Xamarin
Explanation
Calabash is a mobile automation framework that allows testing on mobile devices. It is designed to work specifically with Xamarin, which is a popular cross-platform development tool used to create mobile applications for iOS, Android, and Windows. Calabash integrates seamlessly with Xamarin, enabling developers to write and execute automated tests for their Xamarin applications.
4.
What's BDD?
Correct Answer
A. Behavior driven development
Explanation
BDD stands for Behavior Driven Development. It is a software development methodology that focuses on collaboration between developers, testers, and business stakeholders to ensure that the software being developed is aligned with the desired behavior and meets the needs of the end-users. BDD encourages the use of natural language specifications, automated tests, and examples to drive the development process and improve communication and understanding among team members.
5.
What is behavior driven development?
Correct Answer
D. Style of software development
Explanation
Behavior-driven development (BDD) is a style of software development that emphasizes collaboration between developers, testers, and business stakeholders. It focuses on defining the desired behavior of a software system through the use of plain language specifications called "scenarios". These scenarios are written in a way that can be understood by both technical and non-technical team members, facilitating communication and understanding. BDD encourages the use of automated tests to validate that the software meets the specified behavior, promoting a more reliable and maintainable development process.
6.
When is the app code written?
Correct Answer
B. After it's externalities have been defined
Explanation
The app code is written after its externalities have been defined. This means that the code is written once the external factors and dependencies of the app have been identified and understood. By first defining the externalities, such as the requirements, specifications, and constraints, the development team can then proceed to write the code that meets those defined criteria. This approach ensures that the code is aligned with the intended functionality and purpose of the app.
7.
Which feature makes BDD a powerful technique?
Correct Answer
C. The acceptance tests provide clear and simple documentation about how the application should work.
Explanation
BDD (Behavior-Driven Development) is a powerful technique because it allows acceptance tests to serve as clear and simple documentation about how the application should work. This means that the tests are written in a language that is easily understandable by both technical and non-technical stakeholders, making it easier to communicate and collaborate effectively. This documentation aspect of BDD helps in ensuring that the application is developed based on the desired behavior and requirements, leading to improved quality and reduced misunderstandings.
8.
Which one of these is not a step of testing a mobile app?
Correct Answer
A. Use the feature in testing
Explanation
The given options describe the steps involved in testing a mobile app using a behavior-driven development (BDD) approach. The first step is to write the feature, which involves defining the desired functionality of the app. The next step is to run the feature, which executes the defined functionality. After running the feature, the next step is to create the Step Definitions, which map the defined functionality to actual code implementation. Finally, the feature is used in testing to verify the functionality of the mobile app. Therefore, "Use the feature in testing" is not a step in testing a mobile app using BDD.
9.
Which additional requirements Calabash doesn't need when working with iOS apps?
Correct Answer
A. Java simulator
Explanation
Calabash does not require a Java simulator when working with iOS apps. The other requirements mentioned, such as an iOS device or simulator configured for development, Xcode 8, and an app bundle with Xamarin Test Cloud Agent, are necessary for Calabash to work with iOS apps.
10.
What are "features"?
Correct Answer
B. Acceptance tests
Explanation
Features refer to the specific functionalities or capabilities of a software or product. In the context of the question, features are associated with acceptance tests, which are conducted to determine whether a software meets the requirements and specifications set by the stakeholders. Acceptance tests are designed to validate the features of a software and ensure that it functions as intended. Therefore, the correct answer is acceptance tests.