Showing posts from September, 2015

Reporting API - Selenium / Test Automation framework

I have been wanting to use this reporting API ever since I heard of it, finally I got my hands dirty with the version 2.0 and I must say it's pretty impressive - If you use either Java or .Net for testing then this is what you need - Extent Reports
This is how a sample html report looks like HTML report
I shall not go about rewording how to use it, their documentation is pretty good:
Quick snapshot: Using Maven to download the dependenciesUsing JUnit for logging and reportingUsing TestNG for logging and reportingIf you don't want the logging the easiest way without changing anything is using the TestNG Listener -
Happy Test Reporting :P

Intellij Musing - Test Automation framework with Selenium Cucumber TestNG Maven Jenkins and GIT

Pull the project from the scm repository in my case GitIn IntelliJ File -> New -> Project from existing sources and navigate to the root directoryChoose Import from external mode - Maven/Eclipse as need be Update the pom.xmlMaven clean run / Generate source and Update Folders
Options to run: Right click and run the individual feature fileRight click and run the TestNG.xml file - To run tests in parallelRight click and run the individual cucumber runner file - To run tagged tests

Reports: Cucumber pretty format - Index.htmlCucumber JSON reportCustomized html report

Facebook Infer - Detect bugs before you ship

What is Infer?
An Opensource tool to detect bugs in Android and iOS apps before they ship -

Documentation (Getting Started Guide) -

Quotes from "Peter O’Hearn" - engineering manager at Facebook
When you have to write a software test, often you are going after a specific bug. That means you’ll need to exercise all of the funny cases that will get you to that bug. Static analysis allows you to execute the code symbolicallyIt’s important to know that while things like Infer have made us faster and more successful, they’re not pieces of the Facebook competitive differentiatoranother huge benefit of open source is in recruiting. By showing you can open source stuff if you built it at Facebook, then you get excellent, independent engineers who don’t require as much ramp up time, since they’re used to working on these open source projects. So there’s far less training. Source:…

Switching from Eclipse to IntelliJ

Image Source:

So I have done this thrice but never succeeded in switching for obvious reasons.
This time I did and I must say I was missing out on a lot of cool stuff, if you are doing what I am here is something that might help:

Switching from Eclipse to IntelliJ :

and of-course the shortcuts:

Eclipse IntelliJ IDEA Action Shortcut Action Shortcut Code completion Ctrl+Space Basic completion Ctrl+Space Smart completion Ctrl+Shift+Space