Category Archives: scalatest

Solr With Scala : Basic Introduction to Embedded Solr


Hello Folks, As we discussed earlier Solr with Scala and AkkaHttp in our last blog we have used Solr as a service and tried to hit solr service with the AkkaHttp and spray routes. Here is the link for the … Continue reading

Posted in akka-http, Scala, scalatest, testing, tests | Tagged , , , , , | 2 Comments

Neo4j With Scala: Rest End Points with AKKA HTTP


Hello Folks, Welcome back again in the series of Neo4j with Scala . Let’s start our journey again. But before starting our journey here is the links for recap who join late us in the journey : Getting Started Neo4j … Continue reading

Posted in akka-http, Scala, scalatest | Tagged , , | 1 Comment

Blending Cucumber, Cassandra and Akka-Http


Folks, Knoldus has always pioneered the deep diving into the best ways to use cutting edge technologies. In the past few days, one of our team carried this deed by integrating Cucumber with Akka-Http, Cassandra and of course, Scala. In … Continue reading

Posted in Akka, akka-http, Cassandra, Cucumber, database, knoldus, sbt, Scala, scalatest, Test, testing, tests | Tagged | 6 Comments

Cassandra with Spark 2.0 : Building Rest API !


In this tutorial , we will be demonstrating how to make a REST service in Spark using Akka-http as a side-kick  😉  and Cassandra as the data store. We have seen the power of Spark earlier and when it is … Continue reading

Posted in Akka, akka-http, apache spark, Cassandra, Scala, scalatest, Spark | Tagged , , , , , , , , , , , , , | 2 Comments

Integrate JWT with Akka HTTP


In this article we will discuss about , how to implement  authentication or authorization in Akka HTTP routes using JWT . As we know Akka HTTP is full implementation of  server  and client side HTTP stack on top Akka actor and … Continue reading

Posted in Akka, akka-http, integration, Integration testing in play framework, JWT, sbt, Scala, scalatest, Security | 3 Comments

Mocking Mail API in Scala


Few days ago I was working on a Mailing API of my project and used javax-mail API but encountered the problem of how to write unit test cases for that without actually mocking the mail. I searched for it but was unable … Continue reading

Posted in Scala, scalatest, Test, testing, tests | Tagged , , | 1 Comment

Data Driven Test Automation with Apache POI (Part-1)


What is Data Driven Test Automation? To test the functionality of an application it is requires to test with multiple input values. Data driven test automation allows to create test scripts where test data or input/output values are read from … Continue reading

Posted in Scala, scalatest, testing | Tagged , , , , , | Leave a comment

Best Practices for Using Slick on Production


Slick is most popular library for relational database access in Scala ecosystem. When we are going to use Slick for production , then some questions arise  like where should the mapping tables be defined and how to join with other … Continue reading

Posted in Best Practices, database, rdbms, Scala, scalatest, Slick, sql, tests | 13 Comments