XCFit 2.0 Released : Full Stack BDD in Xcode + Page Object + Swift Package Manager

XCFit 2.0 Released : Full Stack BDD in Xcode + Page Object + Swift Package Manager

Automation, iOSDev
XCFit 2.0 Glad to announce new version of XCFit with brand new features. You can find release notes on Github here. If you are new to XCFit then 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 level, 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 Cucumberish and Fitnesse. You can use 80(Fitnesse):20(Cucumberish) formula to automate Acceptance and UI Testing for better coverage and faster feedback. XCFit is available on RubyGem,  CocoaPods and Swift Package Manager. XCFit 2.0 has just released ! XCFit 2.0 New Features Improved Xcode Templates with support of Page…
Read More

Swift 3 : Basic concepts with Xcode 8

Automation, iOSDev
Swift3 at WWDC Apple has announced Swift3 on WWDC [2016] this year. It's amazing that Swift can be used on Linux and lots of third party companies working on server side swift. First couple of releases of Swift has gone though major changes in the Swift but Apple has promised that Swift 3 will be stale release and can be adopted by companies without any fear. Apple has also provided migrator for the Swift2 to Swift3 which makes migration easy.  In this tutorial, we will learn basics of Swift announced at the WWDC 'Getting Started with Swift" talk. I would strongly recommend watching this talk. Let's look at what's new in the swift with basic concepts. Please note this isn't tutorial to learn all Swift but to get brief overview…
Read More

Integrating Fitnesse iOS Acceptance Test with XCTest using Xcode8

Automation, iOSDev
Fitnesse for iOS Recently Fitnesse has entered in the world of iOS development. An OCSlimProject has enabled an ATDD and BDD practices in iOS development world. This project enabled us writing and blazing fast acceptance test with Fitnesse for iOS. Thanks to Paul Stringer and other contributors.  You can read more about what are the problems that Fitnesse can solve in article 'Acceptance Testing for iOS' by Paul Stringer. As of now Fitnesse acceptance for iOS running in the separate process and reports are generated by different mechanism which wasn't feel like Fitnesse is actually part of the development and CI workflow. The good news is latest release of the OCSlim project has integrated Fitnesse test reports along with XCTest framework which means we can execute Fitnesse tests along with Unit tests…
Read More

Building packages with Swift Package Manager and Docker without Xcode

Automation, iOSDev
Swift Package Manager Apple has recently open-sourced Swift and announced it's own package management tool called "Swift Package Manager". Swift has became cross platform and can be built on both macOS and Linux so Swift Package Manager can be Dependency Manager Build Tool Test Tool IBM is currently working hard to provide centralised repository for hosting those package and creating server side frameworks. The best place to learn about all the recent activity is 'swift.org'.  In this tutorial, we will create a Swift package on using Docker. Swift Package and Docker As Swift became server side, we can build it on the docker containers. In this short tutorial we will use IBM Swift3 Ubuntu Docker image to build a simple package. Let's create a directory called 'SwiftPM-Docker' and create a…
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

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-58a9858a5813d576632640/]   There are few to check XML response as well [crayon-58a9858a5814c647190882/]   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

Get started with brand new Jenkins 2.0 with Docker

Automation, DevOps
Jenkin 2.0 The new version of the Jenkins a.k.a Jenkins 2.0 will be released very soon. Jenkins 2.0 will be bringing us some new amazing features. Pipeline as Code  Improved User Interface and User Experience  Security & plugin Enhancements  New Jenkins WebSite as one stop for getting started guide The detailed information about the new release can be found out here In this post, let's try out new version of the Jenkins with it's own Docker image. Jenkins inside Docker The fastest way to get started is getting the docker image and run containers. The CloudBees has already created a Docker image jenkinsci/jenkins with tag of '2.0-beta-2'. Assuming that, you have Docker ToolBox or similar setup on your machine, you can get the latest image. You can follow my previous post on practical…
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