python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
IntelliJ not finding individual tests in scalatest FlatSpec
I am running IntelliJ. I have a test suite that extends FlatSpec like
class MyTest extends FlatSpec {
val foo = Seq(1, 2, 3)
foo.foreach { x => println(x) }
it should "run test 1"...
wrschneider
Votes: 0
Answers: 0
Java class created for tag annotation in scalatest giving duplicate class error
package com.mycompany.myproject.testing.tags;
import java.lang.annotation.*;
import org.scalatest.TagAnnotation
@TagAnnotation
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, Elemen...
sai lakshmi
Votes: 0
Answers: 0
Avoiding to instantiate object in test files
I have a Redis PubSub object:
object RedisPubSubService {
implicit val system = ActorSystem("RedisEtatyLib")
val config = ConfigFactory.load.getObject("redis").toConfig
val ...
AlleXyS
Votes: 0
Answers: 1
replace ClassName with custom string to display in IntelliJ scalatest window
For a specific use case, we are trying to replace
ClassName with Verifying ClassName
in IntelliJ scala test case window.
For that, we overridden toString method in spec class as below :-
override def ...
mogli
Votes: 0
Answers: 0