Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7872211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:08:25+00:00 2026-06-03T02:08:25+00:00

Im working on a playframework project in scala. Our team however wants to use

  • 0

Im working on a playframework project in scala. Our team however wants to use scalatest instead of specs. I’ve added the following to the plugins.sbt file:

libraryDependencies += "org.scalatest" %% "scalatest" % "1.7.1" "test"

But when I start play, no new jars are being downloaded, not even after running

update

and when i run

library-dependencies

it shows me this

[info] List(org.scala-lang:scala-library:2.9.1, play:play:2.0, play:play-test:2.0:test)

Also when I try to test I get a compile error saying that org.scalatest is not in the buildpath. Does anyone know what is going wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:08:26+00:00Added an answer on June 3, 2026 at 2:08 am

    You should modify project/Build.scala, and better to use like the following:-

    val appDependencies = Seq(
      // Add your project dependencies here,
        "org.scalatest" %% "scalatest" % "1.7.2" % "test"
    )
    

    Please use the version 1.7.2, which contains a bug fix in SBT integration.

    Also, you’ll need to set the testOptions to Nil:-

    val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA).settings(
          // Add your own project settings here    
          testOptions in Test := Nil
        )
    

    This is because Play 2.0 by default will send the following Specs 2 test options in, which are:-

    sequential true junitxml console

    They are not recognized by ScalaTest, so setting testOptions to Nil should fix it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a playframework project that I have eclipsified from the console
Im working on a project where i need to use socket.io at client end
I am working on a project using PlayFramework 2.0. After reading a bit of
Working on a rather small, and simple layout, I decided to use Meyer's CSS
Working on my first Rails project, I used Ryan Bates' Nifty-Generators to create the
Working on calling a C function from my asm project. I'm trying to push
Working on an extension that use the new experimental devtools apis. How do you
Working on an old Kohana 2 project and I want to link two models.
I'm using the Scala plugin for IDEA and normally, it works (almost) perfectly. However,
While working on a Spring 3 MVC project using Hibernate, we encountered an annoying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.