-
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…
-
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…
-
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…
-
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…
-
Handy converting of data in CSV into JSON
Currently i'm working on my fabricator.js library , which is basically a javascript analog of my already existing scala fabricator library. The reason i'm doing this is that i would like to use my fake data generator in node cli tool and also i would like to make a Chrome…
-
Pretty printing of JSON in javascript
I like JSON very much. It's easy to read, easy to work with, but when you get a big structure, it's handy to have some quick way for print it out in a nice readable format. Before i was using Sublime Text editor with PrettyJson plugin. But now i started…