
capybara – programming-capybara – কুইজ মডেল টেস্ট অনুশীলন – 2
6740. What is the first phase in an TDD cycle
- Repeat
- Refactor code
- Write a test
- Run test
6741. Which of the following will wait for a matching element and then wait until its value matches, in Capybara
- Both of the above are same
- None of the aboveexpect(page).to have_field("Username"
- with: "Joe")expect(find_field("Username").value).to eq("Joe")
6742. What defines integration testing
- tests the individual components that have been developed.
- tests interfaces to other systems.
- tests interactions between modules or subsystems.
- only uses components that form part of the live system.
6743. Which of the following is regarded as an anti pattern
- Slow running tests
- Testing precise execution behavior timing
- All of the above
- Dependencies between test cases
6744. What is primarily facilitates BDD
- BC
- DSL
- CBO
- MSI
6745. Which of the following refers to an usage pattern for domain-specific language
- grep for regular expression matching
- Embedded SQL
- All of the above
- the GraphViz tool set
6746. Which driver is used by default by Capybara, when not using Javascript
- Poltergeist
- RackTest
- Selenium
- Webkit
6747. Which of the following is an specification testing tool
- JDave
- All of the above
- RSpec
- JBehave
6748. Which of the following value, configures Selenium as web driver to use
- :selenium_driver
- :selenium-webdriver
- :selenium_webdriver
- :selenium
6749. Which of the following for interacting with Javascript, has wait for Capybara
- execute_script("$(‘.active’).focus()")
- Both of the above are same
- find(".active") execute_script("$(‘.active’).focus()")
- None of the above
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।