All Projects → jerseysu → xcuitest_cucumberish

jerseysu / xcuitest_cucumberish

Licence: MIT license
Sample Project for XCUITest + Cucumberish demo

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
Gherkin
971 projects
ruby
36898 projects - #4 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to xcuitest cucumberish

kekiri
A .NET framework that supports writing low-ceremony BDD tests using Gherkin language
Stars: ✭ 19 (+35.71%)
Mutual labels:  cucumber, bdd-framework
bat
Gherkin based DSL for testing HTTP APIs via Cucumber.JS
Stars: ✭ 30 (+114.29%)
Mutual labels:  cucumber, bdd-framework
Awesome-Cucumber
A collection of awesome Cucumber and Gherkin-related resources
Stars: ✭ 33 (+135.71%)
Mutual labels:  cucumber, bdd-framework
base project for web automation projects
base project with example for web automation projects with serenity BDD, screenplay and cucumber
Stars: ✭ 17 (+21.43%)
Mutual labels:  cucumber
cucumber-clojure
The plugin adds cucumber support for Clojure development
Stars: ✭ 13 (-7.14%)
Mutual labels:  cucumber
codeceptjs-bdd
Javascript BDD UI Automation Framework. Exclusive LWC Shadow DOM Support. Playwright, Webdriver.io, Appium, Saucelabs.
Stars: ✭ 35 (+150%)
Mutual labels:  cucumber
SeleniumCucumber
BDD framework for automation using Selenium Cucumber and TestNg
Stars: ✭ 48 (+242.86%)
Mutual labels:  bdd-framework
mocha-cakes-2
A BDD plugin for Mocha testing framework
Stars: ✭ 44 (+214.29%)
Mutual labels:  cucumber
vscode-cucumber
Code snippets to write scenarios faster + Syntax highlight for .feature files
Stars: ✭ 24 (+71.43%)
Mutual labels:  cucumber
cucumber-watir
Test harness for automated functional testing of web applications
Stars: ✭ 17 (+21.43%)
Mutual labels:  cucumber
verification-tests
Blackbox test suite for OpenShift.
Stars: ✭ 41 (+192.86%)
Mutual labels:  cucumber
AutoMate-AppBuddy
iOS UI automation tests helper framework, designed to work with the AutoMate
Stars: ✭ 31 (+121.43%)
Mutual labels:  xcuitest
scenari
Clojure BDD library - Executable Specification with Behavior-Driven Development
Stars: ✭ 57 (+307.14%)
Mutual labels:  cucumber
capybara select2
Capybara helpers for https://select2.org select box (supports Select2 version 2/3/4)
Stars: ✭ 48 (+242.86%)
Mutual labels:  cucumber
teswiz
End-2-End framework for Native & Web Automation using Cucumber-jvm, Appium, Selenium WebDriver, Applitools & ReportPortal
Stars: ✭ 25 (+78.57%)
Mutual labels:  cucumber
microservices-v9
Learn Microservices with Spring Boot - v9
Stars: ✭ 40 (+185.71%)
Mutual labels:  cucumber
allure-ruby
Allure integrations for Ruby test frameworks
Stars: ✭ 40 (+185.71%)
Mutual labels:  cucumber
cl-spec
BDD for Common Lisp
Stars: ✭ 18 (+28.57%)
Mutual labels:  bdd-framework
hypershard-ios
⚡ the ridiculously fast XCUITest collector.
Stars: ✭ 22 (+57.14%)
Mutual labels:  xcuitest
cucumber-performance
A performance testing framework for cucumber
Stars: ✭ 28 (+100%)
Mutual labels:  cucumber

xcuitest_cucumberish

This Project is for XCUITest + Cucumberish Demo.

Build Status

The FoodTracker App is based on following instruction:

iOS Developer Library: Start Developing iOS Apps (Swift)

FoodTracker App: Mario's FoodTracker

Cucumberish Installation:

Installation Guild: Find Cucumberish Wiki Page

Both of Cocoapods / Carthage frameworks for swift on this project

Execution Test:

Execute by the command line:

xcodebuild test -workspace FoodTracker.xcworkspace -scheme FoodTracker -destination 'platform=iOS Simulator,name=iPhone 8 Plus,OS=11.3'

Or, you can execute it by XCode test navigator.

Useful Sample:

  • Support Scenario / Scenrio Outline
Scenario Outline: Verify Meal Rating
When I select "<meal>"
And I rating as <star>
Then I should see "<meal>" rating as <star>

Examples:
|  meal                  |      star   |
|  Caprese Salad         |      2      |
|  Chicken and Potatoes  |      5      |
|  Pasta with Meatballs  |      1      |
  • Page Object Patterns
class MainPage: Page {
    private lazy var title = findElement(.navigationBar)["Your Meals"].firstMatch
    
    required init() {
        waitFor(element: title)
    }
    
    @discardableResult func doSomething(_ intputParameter: Object) -> MainPage{
    	// doSomehting

        return self
    }
}
  • Show failure error on feature steps

Documentation:

Blog: XCUITest with Cucumberish

Author

Jersey Su – @jerseysu

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].