intellij-generateAllSetMethod
intellij-generateAllSetMethod copied to clipboard
Generate all setters with random value
As per the title.
In unit testing, it would be awesome to generate setters with assigned random values. Of course, this can be achieved only for normally "primitive" types such as Strings and numerics.
Background: all of my programmers are lazy at doing JUnit tests, they are only asserting the not-nulliness of output objects and only aim at achieving code coverage because they are required.
next version will support generate by template. you can configure template with xxx.set.(RandomUtils.getRandomString())