1 year ago
#358043
sai lakshmi
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, ElementType.TYPE})
public @interface DbTest {}
-- above created tag using java class is used on scalatest class package com.mycompany.myproject.testing.tests
@com.mycompany.myproject.testing.tags.DbTest
class ValidationTest extends Funsuite with DFInput{
}
when running above scenario giving error below /D:/git/project/src/test/scala/com/mycompany/myproject/testing/tags/DbTest.java:[9,9] duplicate class: com.mycompany.myproject.testing.tags.DbTest
scala
scalatest
scalatags
0 Answers
Your Answer