sbt

Scoverage Analysis | Scala | SBT

Reading Time: 3 minutes Scoverage… what it is, how to use it and for which build tool it is available. So, In this blog we are gonna discussing all these along with its implementation in SBT. What is scoverage ? “scoverage” is an Apache’s free licensed code coverage tool for Scala language that put forward the statement and branch coverage. It is available for SBT, Maven, and Gradle. Advantage Continue Reading

Let’s Dive into the World of SBT (Simple Build Tool)

Reading Time: 4 minutes In this blog, we are going to discuss about SBT which is basically an open source built tool for Scala and Java projects. Also, we will discuss about its directory structure, installation and setup, how to run it, frequently used sbt commands, how to add library dependencies in your project & finally the conclusion. Now before diving into sbt, first we need to understand what Continue Reading

Integrating Jenkins with Selenium.

Reading Time: 4 minutes Hi folks, In this blog, we will try to integrate Selenium with Jenkins. We will not try this on an ubuntu machine using a bash file instead of a standard batch(windows compatible) file so that we need to run it in headless mode. So, let’s get going. What is Jenkins? Jenkins is an open-source tool written in Java.  It provides continuous delivery and continuous Integration Continue Reading

Data-driven framework with selenium, Scala, and SBT

Reading Time: 4 minutes Hello everyone, in our last blog we saw that how we can execute ours test in headless mode and now in this blog we will see how we can achieve Data-driven framework with selenium, Scala, and SBT. Need for data-driven framework A data-Driven framework helps us in separating the test script logic and the test data from one another. It allows us to write test Continue Reading

Reading SBT dependency tree

Reading Time: 3 minutes In this post, we are going to look into reading sbt dependency tree and resolving one of the scenario using an example. While upgrading our library versions of our repository, we often fall into different issues like compatibility between library versions and so on. In this situations dependencyTree is one of the tool, which can help us sneek into different versions of library our build Continue Reading

Gatling with Jenkins.

Reading Time: 4 minutes Hey there! In this blog, we will discuss, how to integrate Gatling with Jenkins. Further, in the blog, we will try to configure Jenkins and run our Gatling Project with it. Before moving forward, let us learn how Jenkins works with gatling. How it works? The Jenkins plugin looks into job’s workspace for any simulation report it can find, and archives only report that hasn’t Continue Reading

Using Microsoft SQL Server with Scala Slick

Reading Time: 3 minutes This blog post shows simple CRUD operations on Microsoft SQL Server using Scala Slick version 3.2.3. You might be thinking what’s really great about it? Duh! But until Scala Slick 3.2.x was released, using commercial databases was within the horizon of an additional closed source package know as Slick Extensions which supported Slick drivers for following databases Oracle IBM DB2 Microsoft SQL Server   Library Continue Reading

Developers Needs SDKMAN Not Super-Man

Reading Time: 4 minutes Every developer has pain for setup development environment to his/her machine with lots of the setups. Sometimes, the pain goes beyond while we need to test same application on multiple versions of SDKs or virtual machines. If you are a Mac user, you have the best option called brew installer. But if you are Linux user, your pain is unpredictable. We are JVM stack developers Continue Reading

Cinnamon: Way For Monitoring & Metrics Generation for Akka ActorSystem

Reading Time: 2 minutes We are developing huge applications and deployed on multiple virtual machines and clusters. For monitoring applications, we need to enable logs into our application and analysis that logs with help of some tools like elastic stack. But !! what if we need to check health of application on virtual machines and clusters? For that, we are using several Metrics for system health check like Gauges, Continue Reading

Gatling Integration with Play

Reading Time: 2 minutes I have started working on a project which require stress testing using Gatling. I Setup the sbt project on which gatling is working fine. But when I try to integrate it using play framework, it doesn’t work. The project structure for both are different so it doesn’t work for both the project in the same manner. Your build.sbt should be  like this: import _root_.io.gatling.sbt.GatlingPlugin import Continue Reading

Getting Asynchronous in Scala : Part 2 (macro, reflection and Async library)

Reading Time: 2 minutes “Our patience will achieve more than our force.” – Edmund Burke The thought above tells about the beauty of being patient. One of the most important trait of a programming language is to be patient for the code segments to complete their execution asynchronously. In this blog we will continue with the Async library and some prerequisite associated with it. RECAP In first blog of Continue Reading

Scala Macros -An overview

Reading Time: 4 minutes OVERVIEW In this blog we will understand the basics of Macros and reflection. The main motive of the blog is to lay a foundation for better understanding of the the ‘Async library’. The ‘MAGIC’ of macros -> Macros can be called ‘special functions’ that are called by the compiler during compilation. These functions are special as using macros we can access the compiler API’s which Continue Reading

Getting Asynchronous in Scala : Part 1 (Future, Callbacks, Combinators etc.)

Reading Time: 6 minutes ‘Only you can control your future.’ – Dr. Seuss The above quote has a great correspondence with this blog. In the blog we will discuss what are Future values and how we access them. During our journey we will be visiting,exploring and understanding following checkpoints :- 1). What are future (basics). 2). How to access them. 3). Basics about Macros. 4). The Async library in Continue Reading