Had Kanda Pohe, pure Maharastrian breakfast today!
Had Kanda Pohe, pure Maharastrian breakfast today!
Homemade Bajarichi bhakari ani vangyachi bhaji (Maharastrian Dish). Thanks to my sweetheart !
My HDTV Mac OSX and microfire setup
GitHub has just released beta version of 21st century hackable editor for developers called ‘Atom‘. Currently, Atom (@AtomEditor) is in beta status and will be available only via invite. You can request an invite from GitHub by sending your details and you will get an invite soon Or you can ask your friends, colleagues to send you invite.
Once you got an invite, you need to follow a link from your email which will allow you to download Atom for your Mac. Currently Atom is only available for Mac OSX version 10.8 and above.
Once you download zip with Atom package, you need to install it on your Mac OSX and open Atom Editor for first time. It will look like this:
Copy Atom into your Applications directory so that you can launch it straight from your Spotlight or Alfred. It would be useful.
Once you have installed Atom, you can use many command line options for Atom. You can install packages, themes from command line. You need to have installed node and npm. You can find help from your i-Term
$ apm help install
This will give you information about usage of ‘apm’ command. if you got an node error then you need to upgrade your node and npm version
$ brew upgrade node $ npm update npm -g
Now you should be on the latest version of the node and npm:
Now you shouldn’t get any any error while accessing ‘apm’
You can navigate to directory and launch atom from there by using atom command
$ cd /path/to_project/ $ atom
This is pretty awesome way to launch Atom for different project.
You can now install packages and themes available at the official packages website. You just need to find the name of the packages and install those packages from command line.
You can search available packages from command line get list of packages available for that language or tool. Suppose, you want to search all packages available for Cucumber BDD tool. You can search that from your command line.
$ apm search cucumber $ apm install cucumber
This will install Gherkin style syntax highlighting for your Cucumber feature files. You can explore packages for the languages and tools of your interest.
You can also search themes and install directly with simple commands. I did search for themes for Mac and Twilight theme and installed
$ apm search mac $ apm install atom-mac-theme
You can search and install packages from the command palette of the Atom (cmd+Shift+P) ans type install.
Well, you can configure your Atom editor by using configuration guide in the official documentation.
Being user of Sublime Text, I found it’s pretty similar in terms of keyboard shortcuts and functionality. In the Atom introduction blog post , explained how Atom is different from Sublime Text and TextMate. Atom;s extensibility is the key. Atom will be easily plugged with the any language and tool. Hope fully it will be free, hope so !
The post Installing and Setting up Github’s Atom Editor on Mac OSX Mavericks appeared first on BDD Test Automation & Open-Source Tools.
Apple has just released big update to fix SSL/TSL security bug. iOS 7.0.6 has fixed that bug already but Apple put this fix couple of days later for OSX Mavericks. Now bug has been fixed also added some features.
It’s very important to upgrade it to OSX 10.9.2 as soon as possible. Go to Apple Store and check for updates. You will see updates for OSX 10.9.2. Click on “UPDATE” and wait till it downloads OSX.
Once done. You need to restart your machine to install new updates. It will take near about 5-10 minutes depending on your network and speed. Once you logged in then you will see brand new OSX 10.9.2.
Apple has released fix for SSL/TSL bug in iOS quickly. Just upgraded my iPhone to iOS 7.0.6 to protect myself from SSL/TSL bug.
Here is how iPhone Screen
Don’t get late, upgrade your Mac OSX and iOS ASAP. Enjoy great features of Apple.
The post Protecting from SSL/TSL bug: OSX 10.9.2 and iOS 7.0.6 appeared first on BDD Test Automation & Open-Source Tools.
Home Made Food
Jenkins is the best Continuous integration tool in the Market. Jenkins is so popular because of hundreds of plug-ins that user can use to configure Job.
Hope you have upgraded your OSX to Mavericks and lost your existing Jenkins installation. I have written blog post few months back about ‘Installing Jenkins on Mac OSX‘, at that time it was OSX Mountain Lion.
Download Jenkins Package for Mac OSX from Jenkins official website. If you try to install package and got this error.
You need to tweak security settings in your Mac OSX. Go to Preferences-> Security & Privacy and ‘Allow apps downloaded from; to anywhere
Now, you can download and install Jenkins. Once you followed all the instructions on your screen you can see Jenkins has been installed successfully. It would launch Jenkins automatically OR You can visit http://localhost:8080 and see Jenkins Home Page.
I got few Jenkins job from the original installations so they are appearing there.
There are wide range of Jenkins Plugins available there, just go to ‘Manage Jenkins’ -> ‘Manage Plug-ins’. You will see list of plug-ins available there, I have installed few useful plug-ins like Cucumber, Violation and so on
Jenkins has been now start or stop Jenkins from command line :
$ sudo launchctl unload -w /Library/LaunchAgents/org.jenkins-ci.plist
sudo launchctl load -w /Library/LaunchAgents/org.jenkins-ci.plist
Have fun with Continuous Integration.
Living documentation is very essential when working in the collaborative way with technology and business people. Behaviour Driven Development [BDD]methodology enforces communication between business and technology. Any Documentation with nice web interface can be easily understood by the business people.
There are some tools like Relish(@relishapp) where you can host your living documentation but Yard-Cucumber is the nice and cool interface to host your living documentation locally.
The Yard-Cucumber is a RubyGem that creates documentation. The Yard-Cucumber is the cool and free solution to generate documentation locally. This plugin is developed by Frank Webber. Previously “Yard” can generate documentation with Class List, Method List and Tag List and README file but Yard-Cucumber add things like ‘Features’ and ‘Step-Definitions’.
I assume, you are using latest version of Ruby. Here is Ruby 2.0.0. In your existing Cucumber project, Just install Yard-Cucumber Gem. You may need ‘redcarpet’
$ gem install yard-cucumber $ gem install redcarpet
Or in your Gemfile. Add the following Gems you don’t have already
gem "yard-cucumber" gem "redcarpet"
Now, install bundler with to use those Gems
$ bundle install
Now you are good to use Yard-Cucumber.
Now, Let’s configure Yard Cucumber. Just run following commands from your project
$ mkdir ~/.yard $ yard config load_plugins true $ yardoc 'example/**/*.rb' 'example/**/*.feature'
Now, Let’s use inbuilt Rake Task to run Yard-Cucumber. If you don’t have rake then install it.
$ gem install rake
Let’s create a Rake task in the Rakefile
require 'yard' ARD::Rake::YardocTask.new(:yard) do |t| t.files = ['features/**/*.feature', 'features/**/*.rb'] end
Now we have success fully configured Yard-Cucumber in our project.
Let’s use Yard-Cucumber with our rake task.
$ bundle exec rake yard
This will create a all documentation in the ‘/doc’ direcory. Now you will have .yarddoc and ‘doc’ directory in your project.
$ ls -a .git Gemfile README.md browser.json doc report.html .bundle .yardoc Gemfile.lock Rakefile cucumber.yml features report2.html $ open doc/index.html
My iTerm window look like this:
This documentation contains list of all Features, Classes, Tags and Methods. It’s very handy to toggle between Features, Tags and Classes Or Methods.
It looks like this for example project:
There is a example project available on my GitHub account. Cuke_Experiment
You can Clone and Try it
$ git clone http://ift.tt/1aX5IuN $ cd Cuke_Experiment $ rvm use 2.0.0 $ bundle install $ bundle exec rake yard
Enjoy Living Documentation and Share it with your Team. !