You have all heard about pair programming. Well, pair testing is the same, but for testing!
Pair testing is the action of pairing as a developer with a QA engineer to test your new feature.
The developer is keeping the lead of the testing and goes through the whole feature to show the QA engineer how the new feature behaves.
Pair testing is more adapted to the frontend as it’s more visual, but it doesn’t mean that it can’t be applied for the backend too.
Why taking the time of two people when the tester are meant to do the…
I’ve been involved in a lot of interview processes during my previous experiences. And it’s not an easy exercise.
There are plenty of developers coming from different backgrounds in 2021. From self-teaching to Ph.D., but also boot camps, developers have never been as diverse as today. It is also quite easy to pass an oral interview by learning by heart the basics of your technology and looking for interview questions on the internet.
So, how to be sure, as an interviewer, that you found the right fit for you?
Before giving anything to do to your candidate, you’ll want to…
Every 6 months, a new major version of NodeJS is release. And each even number is having its own LTS. NodeJS 16 is not going to be an exception.
This first new feature is allowing you to get the intervals where your regexp matches. In this next example, we are going to match the string
foobar with the regex
Note that I added the flag…
Pull requests have been around for a while now. As part of the agile process, they aim to reduce code smell, get opinions from other developers and keep the codebase consistent.
This is, of course, purely utopic. In reality, PR’s are big chunks of code that you are going to scroll through to look for mistakes.
The main issue with a PR is the total lack of context. Most of the time, your pull request tool is going to show you the bits of code that changed and hide the unchanged lines. …
If you are just getting started with Nodejs and user authentication, you might have wondered how to encrypt your user’s passwords!
There is a library that does it for you: Bcrypt!
Bcrypt made it super simple to encrypt and check passwords, with a couple of functions, you can generate a hashed password for your users and allow them to log in to your website!
Keep in mind that once the password is encrypted, you cannot decrypt it.
To encrypt a password, you are first going to have to generate a salt for the password. …
I’ve been programming professionally for the past 4 years now (without counting university). But two years ago I decided to subscribe to Medium and read articles. For this moment, my learning curve went up like crazy!
When I say blogging, I’m talking about reading but also writing articles. Both are very important and are completing themselves.
But how can blogging improve yourself as a developer?
This sounds logical in the first place, but it’s the basics. When are we reading blog articles? Usually during breaks, commuting (when this was still a thing), basically every time you have some time for…
If you really know generators, it’s either because you are using them with Redux Saga, because your company made the (great) choice of using them, or because you are someone curious! For me, it’s the third option.
A generator is a function declared a bit differently compared to a normal function. The prototype of a generator is the following:
This little star makes the whole…
On the frontend, we have access to the web worker API, a standard API which allows some multi-threading on the browser side.
On the backend side, it’s another story. With version 10.X arrived a new module called
worker thread as an experimental feature and version 12.X made it stable.
Keep in mind that asynchronous functions are not threads in JS. This is a common mistake.
The NodeJS team made it pretty straightforward. You…
It’s painful to say, but one year ago, the first lockdown hit the major part of the world. Back then, I was working in a company where every day was a pure nightmare. The software team was understaffed, the clients asking always for more and more and the pressure impossible to deal with (and I’m pretty okay under pressure).
Every day, I was going to work with almost of a pain in the chest. The job was also quite far from my place (and the train was costing an outrageous £240 a month), about one hour to go and the same…
Let’s review the tools we are going to use and why we are going to use them. Of course, if you are just interested in setting up the project, you can scroll down directly to the practice!
apollo-server-express which is a version of Apollo that can be embedded in an Express server. …