XCFit 4 released : Swift 3.1, Carthage and Pre-defined BDD Steps Support

Automation, BDD, iOSDev
XCFit is full stack iOS BDD framework in Xcode. XCFit setup Xcode templates with skeleton code and directory structures which helps us to get started with BDD and XCFit Swift Framework provides lots of predefined BDD Style steps to automated BDD with less code. You can read details of XCFit on Github. XCFit 4.0 is jus released with lots of features, the brief release notes are available on GitHub here.  Let''s see what's new in the XCFit 4 in details  in this post. XCFit 4.0 XCFit 4.0 is a major release with lot of improvements on Swift Frameworks. The XCFit 4 .0 has following major changes. Support for Swift 3.1 and Xcode 8.3 Added Carthage Support for the XCFit Framework with Integrated Cucumberish library. Added lots of Predefined steps for the XCFit…
Read More
Fire up BDD inside Docker with Cucumber and BDDfire

Fire up BDD inside Docker with Cucumber and BDDfire

Automation, BDD, DevOps
The key benefits of Behavior-Driven-Development (BDD) practices are communication enhancement and customer satisfaction. You can read more on that by Dan North and Gojko Adzic. Perhaps the biggest practical challenge that stands in the way of reaping those benefits is the burden of provisioning, installation, maintenance of requisite complex and fussy infrastructure and setting up reliable test infrastructure. Cucumber is one of the most popular BDD framework available in the market to achieve the benefits from BDD practices. The problem is software teams seems to spend lot of the time setting up Cucumber and necessary toolkit around it. The management has to decide the tools and engineers have to research all the available tools to support agile practices like CI, code quality, test reporting, parallel execution, devOps integration. The process of getting BDD…
Read More
Adding Homebrew Support to XCFit Framework

Adding Homebrew Support to XCFit Framework

Automation, BDD, iOSDev
Glad to announce that XCFit is available to download from Homebrew package manager. XCFit  a.k.a (XCUI, Cucumberish and Fitnesse Integrations Tests) is a full stack Xcode BDD framework for Swift iOS apps. XCFit creates automated Xcode templates which helps us to setup BDD style tests within Xcode. You can read more about XCFit on my previous post or articles published on DZone here . Homebrew Just in case, if you have not heard of Homebrew, it's package manager fro macOS. We can install almost everything using Homebrew including macOS free apps. Homebrew can be installed on any macOS using a command. [crayon-58a98652ccef9902092226/] Now that, we are ready to use Homebrew. We can install package as core Homebrew or using HomeBrew caskroom like this [crayon-58a98652ccf07434611247/] e.g We can install 'Google Chrome" using following command. [crayon-58a98652ccf0f266853421/] Now , we will see how to…
Read More

BDD with Xcode 8, Swift 3, Cucumberish and XCFit on macOS Sierra

Automation, BDD, iOSDev
macOS Sierra, Xcode 8 and Swift3 Apple has just released macOS Sierra public beta in the UK and we couldn't wait to see new features of macOS Sierra and Xcode 8. macOS Sierra brings Siri to MacBook Pro with lots of performance improvements but I was keen to try features of the Xcode8 and Swift3 with my recent pet-project XCFit: Full Stack BDD framework for iOS and macOS Apps. I am very impressed with enhancements in the 'xcodebuild'. In this post I will step by step guide to setup BDD for iOS10/macOS Sierra project using XCFit, Cucumberish, Xcode 8 and Swift3.   XCFit on Xcode8 and Swift3 XCFit is a full stack BDD framework for the iOS and macOS applications. You can read article on mobile DZone to know more about it.…
Read More
XCFit : Full Stack BDD for iOS/macOS Apps with Swift using XCUI, Cucumberish and Fitnesse

XCFit : Full Stack BDD for iOS/macOS Apps with Swift using XCUI, Cucumberish and Fitnesse

Automation, BDD, iOSDev
    XCFit Today, I am glad to announce "XCFit Framework" which can be used to enable BDD for iOS and macOS apps using Apple's brand new programming language Swift and UI Testing framework. This project is inspired by Cucumberish and OCSlim project. Let's see what are the features and usage of XCFit in this post. You can find official web page of XCFit on shashikant86.github.io XCFit - 'Swift' Your iOS/macOS apps towards BDD XCFit a.k.a (XCUI, Cucumberish and Fitnesse Integrations Tests) is a full stack Xcode BDD framework for Swift iOS and macOS apps. XCFit allows us to write API, UI and Acceptance Tests with Swift in human readable language using tools like Cucumber and Fitnesse in Xcode. We can still use Apple's brand new UI Testing framework (XCUI) under the hood of Cucumberish. XCFit is fully automated solution for…
Read More

Instant Testing of RESTful API with BDDfire and Cucumber

Automation, BDD
BDDfire2.0.1 + REST API Testing Glad to announce support for the API testing to BDDfire as we can now use pre-defined steps to perform API testing using combination of Cucumber and RestClient. BDDFire is a wholesale Ruby-Cucumber framework where you can setup Web, Mobile, Accessibility, Load, Performance and now REST API testing. BDDfire  + RestClient BDDfire uses RestClient to perform HTTP requests to URI and check response. We can use it for checking JSON and XML response. There are following pre-defined steps we can use to check JSON response. [crayon-58a98652cf768713666819/]   There are few to check XML response as well [crayon-58a98652cf776320720550/]   Here is how you can get API tests up and running in few minutes with BDDfire. Fire up your terminal/iTerm and execute following commands to get the project setup…
Read More

BDDfire 2.0 with Docker, Gatling and Accessibility support

Automation, BDD, DevOps
BDDfire BDDfire allows us to setup Ruby Cucumber framework within a minute with all related toolkit. It became very popular as it gives us ability to setup Ruby-Cucumber framework without wasting time while setting up test framework for new projects. You don't have to spend months and months setting up your frameworks and research the tools. BDDfire currently has more than  69,000 downloads and glad to know that few companies already started using it. What's new in BDDfire 2.0 Today, I am glad to announce BDDfire 2.0 with Docker, Gatling and Accessibility support. It means with BDDfire you can perform Load testing, Accessibility Tests and execute your scenarios inside the docker containers. You can find all the details on README file on Github. With BDDfire 2.0  you can Setup instant Ruby-Cucumber…
Read More

Plug your Jasmine BDD Specs with Grunt

Automation, BDD
Jasmine Jasmine is a Behaviour Driven Development tool for the JavaScript. It's an awesome idea to get our JavaScript unit tested with Jasmine. You can read more about how Jasmine works on official documentation here Jasmine documentation covers how to get started and run our Specs in the browser, however it's not enough to run Jasmine Spec with Spec runner html as we have to have special setup on CI. In this post, we will cover how to setup Jasmine Specs with Grunt to run on CI. Grunt Grunt is a JavaScript task runner which acts as a build tool for the JavaScript. We can setup various tasks in the Gruntfile.js and execute them as required. In order to setup Jasmine BDD Specs with grunt, we need a 'package.json' file…
Read More

BrowserMob-CLI : Ruby library to generate HAR from command line

Automation, BDD
Introducing BrowserMob-CLI Recently, I wrote BrowserMob-CLI ruby gem which allows us to generate HAR files from command line. This will preview HAR files in the Browser as well as parse it in YAML. It works well for FirefoxDriver.  ChromeDriver/GhostDriver will be coming soon.  If you are new to HAR(HTTP Archive) & BrowserMob Proxy then please read these couple of links What is HAR HAR Spec BrowserMobProxy HAR file can be used for Calculate Load time. Set/Get HTTP Headers during your tests Capture performance data with HAR files. Simulate network traffic and latency Rewrite HTTP requests and response BrowserMob-Proxy It's a CLI wrapper around BrowserMob Proxy. BrowserMob Proxy is a utility which is used for capturing HTTP traffic and performance data from the browser. BrowserMob-Proxy adds in essential missing capabilities such as…
Read More

Docker Compose Cucumber for Cross-Browser Testing

Automation, BDD
Docker-Compose Docker is the trending tool in the recent days which allows us to run multiple lightweight containers to perform various task. Just in case, you haven't got docker please refer my previous post 'Guide to Docker ToolBox' to start Docker from scratch. Docker-compose is a way of managing multiple containers to perform specific tasks. It allows us to create 'docker-compose.yml' file with our container requirements. You can install docker-compose in with PIP with single command. [crayon-58a98652d2820496300245/] In this short post, we will setup Ruby-Cucumber to run scenarios in the multiple browses. We will execute it in PhantomJS based Poltergeist driver. Docker-Compose Cucumber We will consider two basic scenarios here. You have existing cucumber framework setup You have to start from scratch Existing Cucumber Framework Assuming, you have created Dockerfile &…
Read More