人気の面接質問と回答・オンラインテスト
面接対策、オンラインテスト、チュートリアル、ライブ練習のための学習プラットフォーム

集中型学習パス、模擬テスト、面接向けコンテンツでスキルを伸ばしましょう。

WithoutBook は、分野別の面接質問、オンライン練習テスト、チュートリアル、比較ガイドをひとつのレスポンシブな学習空間にまとめています。

面接準備

模擬試験

ホームページに設定

このページをブックマーク

メールアドレスを登録

Cucumber 面接の質問と回答

質問 11. What is the purpose of the 'Outline' keyword in Cucumber?

The 'Outline' keyword is used to create a template for a scenario with placeholders for input values, and it is often used with the 'Examples' keyword.

Example:

役に立ちましたか? コメントを追加 コメントを見る
 

質問 12. How can you run specific scenarios in Cucumber?

Specific scenarios can be run by using the tag associated with those scenarios in the Cucumber test execution command.

Example:

cucumber --tags @smoke

役に立ちましたか? コメントを追加 コメントを見る
 

質問 13. What is the purpose of the 'DataTable' in Cucumber?

DataTable is used to represent tabular data in Gherkin syntax, providing an easy way to pass data to steps in a scenario.

Example:

Scenario: Data-driven login
    Given the user is on the login page
    When the user enters the following credentials
      | Username | Password |
      | user1    | pass123  |
    Then the user should be logged in

役に立ちましたか? コメントを追加 コメントを見る
 

質問 14. Explain the difference between 'Background' and 'Scenario Outline' in Cucumber.

Background is used to define a set of common steps for all scenarios in a feature, while Scenario Outline is used to run the same scenario with different sets of data.

Example:

Feature: Online Shopping
  Background:
    Given a user is logged in
  Scenario Outline: Add item to cart
    When the user adds  to the cart
    Then the cart should display the 
    Examples:
      | item     |
      | Laptop   |
      | Headphones|

役に立ちましたか? コメントを追加 コメントを見る
 

質問 15. What is the purpose of the 'DocString' in Cucumber?

DocString is used to pass a large string as an argument to a step, providing a way to include multiline data in a step definition.

Example:

Scenario: Add product description
    Given the user is on the product page
    When the user adds the following description
      """
      This is a detailed description of the product.
      It includes features and specifications.
      """
    Then the description should be saved

役に立ちましたか? コメントを追加 コメントを見る
 

ユーザー評価で最も役立つ内容:

著作権 © 2026、WithoutBook。