1. How to import checkstyle rules into Intellij IDEA code format rules

    While i was working on different open source projects, i was facing with one issue - every project would have their own code style rules. Most of them are described with codestyle.xml file. That's good, because you can run something like ./gradle clean check and it will output you…

    on checkstyle IDEA intelij_idea

  2. TestNG Test Annotations Order

    Don't know about you, but i keep forgetting the right order of Test run Annotations order. Especially if i work on JUnit and TestNG projects at the same time ( yeah, it's quite common). So, this article is basically for me in the first place - so i could look up…

    on testng annotation

  3. Why rest-assured doesn't redirect POST requests ?

    If you guys like testing API's like i do, then you might face with issue when you try to make a POST request with rest-assured and expect to be redirected to another URL. If you read documentation before, then you would probably try one of this things : For a specific…

    on http rest-assured 302

  4. Handy script to get time difference in Javascript

    When I was writing my fabricator.js library, I had to write some unit tests where I was thinking about measuring the time between two-time points. It's a quite easy task, but when it comes to calculating every time in your mind and convert from milliseconds to seconds and then…

    on javascript time difference time milliseconds minutes hours convert

  5. Javascript linting in "hot reload" mode

    When I started to work with Javascript, I found such thing as Javascript lint. it's quite useful since it allows for teams to use same code standards and agreements. That's why I decided to add linting to my project as well. For that I had to : Install Eslint npm install…

    on javascript eslint watch eslint-watch hot-reload

  6. Big-O Complexity cool cheat sheet

    Recently I signed up for Algorithms: Design and Analysis course. Most of the time Test Automation doesn't require to know which algorithm sorts best, but I still believe that knowing that a good programmer is not the one who knows a lot of languages, but the one knows algorithms well…

    on algorithm complexity O(n) O(1) cheatsheet