Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Carrying Out Tests

Sumit Rawal answered on May 24, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • how to achieve best test coverage

  • Carrying Out Tests

    0

    We'll cover the following

    Step-1: Setting up the database

    Step-2: Executing the tests

    Until this point, we have only looked at the code and have not executed the tests themselves. Let’s do that now.

    To execute the tests, click on the Run button and wait for the environment to set up. We pull a docker image with the pre-configured environment to save you the hassle of setting up the environment on your own.

    Once set up, you will need to perform the following two steps:

    Step-1: Setting up the database

    First, we need to start the PostgreSQL database within the container. We can do that by using the following command:

    1

    service postgresql start

    Start PostgreSQL

    Step-2: Executing the tests#

    Once the database is up, we can use the following command to execute all the tests:

    1

    sbt test

    sbt test 

    Popularity 1/10 Helpfulness 1/10 Language scala
    Source: Grepper
    Tags: scala
    Link to this answer
    Share Copy Link
    Contributed on May 24 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.