assertj-assertions-generator-maven-plugin icon indicating copy to clipboard operation
assertj-assertions-generator-maven-plugin copied to clipboard

Plugin is generating assertions for test classes and code generated by other plugins

Open zeljko-mirovic opened this issue 7 years ago • 1 comments

Plugin is generating assertions for test classes and code generated by other plugins. It will be nice if plugin will be able to distinguish between different code sources for same package and generate assertions only for chosen ones.

Currently it is only possible to exclude them using exludes like this: <excludes> <param>.*?\..*Test</param> <param>.*?\.querydsl\.Q.*</param> </excludes>

zeljko-mirovic avatar Oct 12 '18 10:10 zeljko-mirovic

I want assertions generated for test classes, and I can't get it to work. Do you know if this was ever fixed, and how to allow for both test and main sources to be generated?

lhannest avatar Jan 21 '22 18:01 lhannest