Using IntelliJ to speed up your dev workflow

Give your development experience superpowers!I do the bulk of my test automation development in Kotlin/Java or Python languages. After the programming language, a very important component for the dev workflow is a good IDE.While the purists generally rave about the use of Editors like Sublime, VSCode or even use of Vim/Emacs over full-fledged IDE's like…

Understanding reporting and logging in TestNG

TestNG is a popular test framework that needs no introduction in the JVM (Java virtual machine) ecosystem and can be used for automating your tests regardless of their size. For example: Large (functional) or medium/small level tests (Integration/Unit). It is a highly customizable framework and provides great flexibility around how you want to structure your…

How to do reverse lookup enum constant by value in Kotlin

    This is a neat trick I discovered recently enums are a very useful concept in programming and allow us to define constant values which can easily hold grouped data and even declare members I use them heavily in my automation code to define constant values and they work very well when we have…

Vol 2: How Kotlin eased my life in a Java world

2nd part in a series on how to write idiomatic Kotlin. Read the 1st part here. Mutable (var) and Immutable types (val) in Kotlin In Kotlin, variables are typically preferred to be declared as val and borrows these constructs from other languages. Consider below example We have a Robot Class with 3 properties which are val…

Basics of writing Clean code:

A python flask program. Source: Pexels I recently read my first iteration of Clean Code, the famous book by the prolific Uncle bob martin and it was one of the most delightful and eye opening experiences of my life as a programmer. There were lots of amazing takeaways from that book and personally would highly recommend…