You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Transform in Scala DSL does not work and I have to define my own class using XStreamConverter to make it work.
classMyClassConverterextendsTransformer[MyClass] {
//implementation of Transform function
}
defgiven(@Transform(classOf[MyClassConverter]) c: MyClass) {
//Some Code
}
Given("""^I have my (.*) as part of my given $""".stripMargin) { given_ }
This does not pick MyClassConverter as a converter for MyClass
The text was updated successfully, but these errors were encountered:
@Transform in Scala DSL does not work and I have to define my own class using XStreamConverter to make it work.
This does not pick
MyClassConverter
as a converter forMyClass
The text was updated successfully, but these errors were encountered: