score:1

I think you are missing:

 import mainFolder.Dictionary._

This should load all the functions in the Dictionary.scala

Also I am not sure if the naming matters but generally the folder structure is:

src -> main

src -> test

score:1

There are three possible solutions which you could try in Intellij

  1. Right click on the test folder and select 'Mark directory as' and in that 'Test Sources Root'. This is the most common thing that happens in case of test case not found.

  2. Also you could try cleaning and compiling your code again. Try command sbt clean compile

  3. Even if this does not work, just try once to run the test cases from command line by sbt test. This will help us figure out if it is an intellij indexing issue. If the test cases run from command line, then it might be an indexing issue in intellij and you can right click on your project and Rebuild Project.


Related Query

More Query from same tag