A complete beginner’s guide to unit-test automation with Jest

A Lego Star Wars character holding a paint brush and standing at an easel.
A Lego Star Wars character holding a paint brush and standing at an easel.
Photo by Daniel Cheung on Unsplash

Automated testing is the process of performing tests on a program automatically. To do this, we need to write test scripts that execute the testing process as per the test cases. Some of the many benefits of automating test cases are:

There is no bug-free software. The main purpose of testing is to fail the code and identify at least one bug.

Unit testing is used to test a single functional component of an application with no or…

Which one should you learn?

Photo by Hardik Sharma on Unsplash

React Native and Flutter are the top mobile frameworks for building iOS and Android mobile applications. These frameworks have been the gossip amongst the developer community, with a lot of competition and comparison between the two in recent years.

The Problem With Native Mobile App Development

Android Studio and Xcode have been dominating the mobile development industry until certain problems were raised. Thus, requiring an optimized solution. The problems were:

This resulted in the introduction of cross-platform mobile development frameworks such as React Native and…

Compromising for a healthier relationship

Photo by Andriyko Podilnyk on Unsplash

Let’s talk relationships! Family, friends, and love!

Relationships are a ‘beautiful complication’ with a mixture of the most beautiful feelings in this universe. It’s more than just feeling loved. It’s more than just emotions. It’s growing together, with each other and for each other to build a beautiful future and a lovely present.

Compromise is an essential component in a relationship that is required in abundance to overcome the hurdles that may arise at different stages. Compromising helps to keep the sparks up and boosts the growth of understanding between one another.

Elders have advised, successful relationship are that, where…

Using black correctly in UI design

Photo by Mathew Schwartz on Unsplash

User Experience and User Interface are the fundamental concern of any successful software. Thus, developers have identified and adopted the dark themed interfaces (as an optional theme) to serve users and help them reduce eye strain, especially in low-light or in the dark.

Dim lights are known for de-stressing and saving energy. The dark mode is a low light interface using darker colors, usually black or a shade of grey, as its primary background color. It’s an inversion of the default white UI that designers have been using for ages.

Night mode and dark themes have become an emergence in…

It’s time for coffee! Dare not to think of work!

Photo by Mike Kenneally on Unsplash

Surviving through busy schedules day-to-day at work can get hectic. And that’s why breakfast, lunch, and coffee breaks are rated the most sacred moments for nourishing and relaxing one’s self, in a professional environment.

Why a coffee break?

It's the divine 20 to 60 minutes off the day, which works miracles in boosting productivity by re-charging the batteries sufficient to accomplish my goals for the day. Precisely, it's the time where the body, mind, and soul refuel and re-energize itself for completing the day.

Some general benefits of having coffee breaks:

You don’t have to study more to learn more.

Photo by Prateek Katyal on Unsplash

Mostly everyone confuses learning with studying. But only the well-knowledged and successful know that studying is nothing but a barely surviving strategy to learning.

I believe learning is engaging in the sharing of knowledge and wisdom. On the contrary, I see studying as the forced knowledge from books that result in exhausting the human brain!

I am no expert in academia or I don’t grade myself as the most-knowledged or successful either. I always consider myself a student of learning. …

A trade-off between consistency and performance

Photo by Jakob Owens on Unsplash.

MongoDB is a schema-less NoSQL database that operates with documents and collections. Unlike SQL databases, MongoDB can store documents in JSON format and its structure can vary, thus emphasizing on high scalability of the system and reduced complexity on deployment.

Relating Objects

In relational databases, relationships enforce data integrity. But in MongoDB and other NoSQL databases, there are no relationships between documents. Therefore, documents are independent. However, there are some approaches to model these relationships between documents.

Scenario: I’ve been working on an e-wallet app recently, and here is a simple functionality to understand it better. …

A guide for IT graduates and undergraduates

Photo by Saulo Mohana on Unsplash

Interviews are one of the biggest hurdles to be encountered when seeking out for jobs, and this is the best opportunity to study the company in depth. Many people state that interning at startups endorses you with a lot of experience, knowledge, and skill, but its a myth!

Many IT bloomers are setting foot in the industry with great hopes and expectations, on which some startup companies have a “preying eye”. The energy-driven motivation at a young age is their key expectation.

However, individuals are falling victim to these traps. And, at extreme times, the affected are deviated from their…

The science behind MongoDB object IDs

Photo by Maurício Mascaro from Pexels

MongoDB is a NoSQL database that operates with collections and documents. Each document created on MongoDB has a unique object ID property. So when creating a document without entering an ID, the document will be created with an auto-generated ID.

Who Generates the ID?

When filling in the properties of a document, we do not necessarily need to enter the object ID. But when we refer to MongoDB after creating a document, it would have an object ID that looks like this:

“_id”: “5f1819229fdf8a0c7c2d8c36”

This makes it much easier for us when creating documents in MongoDB and saves us a lot of…

Build UI components with design principles

Photo by Daniel Korpai on Unsplash

Regardless of the framework or library, used to develop software, UI components play a major role in the interaction between the application system and its users. Thus, driving great amounts of knowledge and expertise towards the UI/UX fields.

In this article, we will talk about what your UI components should not be exposed to and why. Further, we will discuss the possible solutions to certain problems that may arise when designing and implementing UI Components.

What they should not know

In any web or mobile application, the front-end and the back-end collaborate and function together producing a complete functioning system. …

Umair Feroze

ECU Alumni👨🏼‍🎓| Software Engineer 👨🏼‍💻 MERN Developer | Innovative Tech Lover💡| Muslim ❤️ |Email: umayir10@gmail.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store