suppose i am using some external(jar) library for example spark core. And i have written a class with some inbuilt spark core library, and written a test case for the class i have written. Now when i run the test cases using Scoverage is it possible to get the coverage of the classes of the spark core.
ex:
added the spark core jar as an external library to my scala maven project. Also set up the scoverage plugin for the project.
class A{
some spark core function invoked.
}
class ASpec{
testing the class A
}
after running the test cases run the coverageReport command in the coverage report it will show class A x% code coverage and y% branch coverage.
My question is: Is it possible to get the code coverage for the classes i have invoked from the Jar.
Aucun commentaire:
Enregistrer un commentaire