Adding ReflectionAssert in S2699_java

12 views
Skip to first unread message

Vivek Gupta

unread,
Apr 26, 2018, 2:01:11 PM4/26/18
to SonarQube
ReflectionAssert from unitils is used as assertion to compare two objects via reflection. Could be added to S2699_java (Tests should include assertions) in the list of assertions?

alexandr...@gmail.com

unread,
May 1, 2018, 4:57:12 AM5/1/18
to SonarQube
Hello,

S2699 should support the main active assertion frameworks. It looks like http://www.unitils.org/summary.html is no longer active (last news in 2011). The links on the top of this website are also dead ones.
I suggest studying the possibility to create a custom rule to cover your use case.

Regards
Alex
Reply all
Reply to author
Forward
0 new messages