unit

Data centre

Empty values in Scala

Reading Time: 3 minutes There are different values in scala which we used as empty values. In this blog, we are going to discuss these empty values like what are these values, how to use them, etc. Null Type Null extends all the reference types even the classes and traits which are defined by us. We can assign Null to the reference type (List, Option, etc) but not to Continue Reading

systemd service

How to create a systemd service in 2 easy steps.

Reading Time: 3 minutes As we all know, it will always be needed to run an application as a service because sometimes we want our application to run in the background as a service daemon. So, in that case, we create Systemd service files or unit files to run the application. Introduction to systemd and service systemd is an init system and system manager that has widely become the Continue Reading

Scala Beginner Series (1) : Basics

Reading Time: 4 minutes This series is all about the taste of Scala. It is best suitable for all the newbies in Scala. So here we go… This article will cover the fundamentals of Scala language. Values In Scala, we work with values: Values are used to define constants. val modifier means constant or immutable that means we cannot change its value once it is created. Thus reassignment to val is prohibited. It Continue Reading

Beginners Guide for Mocking in Scala

Reading Time: 3 minutes We all must know how the unit test cases are one of the most important part of an application. If not? Then I must tell you that unit testing is one of the earliest testings which is performed on the unit of code and the earlier the defects are detected, the easier it is to fix. It reduces the difficulties of discovering errors contained in Continue Reading