...
The TestBase
class included in the cdap-unit-testtest3_2.12
dependency will run programs using Spark2 and Scala 2.11. If you need to unit test a program that uses Spark3 and Scala 2.12, you must remove the cdap-unit-test
artifact from your Maven test dependencies and replace it with cdap-unit-test3_2.12
:
...
.
Running Tests from an IDE
...