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-58a985988cc64766957417/] Now that, we are ready to use Homebrew. We can install package as core Homebrew or using HomeBrew caskroom like this [crayon-58a985988cc73718981798/] e.g We can install 'Google Chrome" using following command. [crayon-58a985988cc7b932464937/] 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

BDDfire: Continuous Integration with TravisCI and new webpage

Automation
BDDfire : New Home BDDfire is an instant Cucumber-BDD framework which allows us to setup entire Ruby-Cucumber frameworks in a minute. BDDfire is hosted on Rubygem server and currently  has more than 80K downloads. I am glad to announce that BDDfire has now got new home on GitHub pages. BDDfire is current hosted on static page generator by Github and can be accessed here . http://shashikant86.github.io/bddfire/  Or You can visit it by clicking on image below. Continuous Integration with TravisCI BDDfire was lacking CI support which was pain while contributing and merging pull requests. Good news is that BDDfire now supports Continuous Integration service using Travis CI and we got some tests ! Travis CI page for the BDDfire build will trigger after every PR and commit on master. The build status can…
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-58a985988e8dd943533985/]   There are few to check XML response as well [crayon-58a985988e8ec392295652/]   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

Dockerizing BDD : Presentation at #BDDX15 Conference London

Personal
Agile Testing and BDD Exchange 2015 Agile testing and BDD Exchange 2015 conference has been organised at SkillsMatter, London on 12th and 13th November 2015. It was very informative event and mainly it was well organised by SkillsMatter. The details of the programmes are here, I am pleased to attend and speak at the BDD Exchange 2015. I have presented on the topic 'Dockerizing BDD: Ruby Cucumber Example'. The slides and video of the presentation is available now. Dockerizing BDD : Ruby Cucumber Example The slides of my presentation are available on SlideShare. http://www.slideshare.net/Shashikant86/dockerizing-bdd-rubycucumber-example SkillsCast - Video of the talk The video of the presentation is available to watch on SkillsMatter website. You need to register to SkillsMater in order to watch it. Link to the video can be found…
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-58a9859890dfb723502420/] 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