Reputation: 7524
I have a scala project with maven as build tool, and I am using IntelliJ IDE.
What is the ideal folder structure for tests in this case? And what testing library should I use?
Upvotes: 0
Views: 297
Reputation: 1586
What is the ideal folder structure for tests in this case?
In this documentation, checkout this section - Explaining this Archetype It tells you the ideal folder structure for tests.
what testing library should I use?
I think scalatest
is a great testing tool for scala. You can add the following dependency in your pom.xml or checkout this link.
<!-- https://mvnrepository.com/artifact/org.scalatest/scalatest -->
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.13</artifactId>
<version>3.1.1</version>
<scope>test</scope>
</dependency>
Let me know if it helps!!
Upvotes: 1