iSafeBlue / TrackRay

溯光 (TrackRay) 3 beta⚡渗透测试框架(资产扫描|指纹识别|暴力破解|网页爬虫|端口扫描|漏洞扫描|代码审计|AWVS|NMAP|Metasploit|SQLMap)
GNU General Public License v3.0
2.03k stars 373 forks source link

Add unit tests for com.trackray.base.utils.RegexUtil #2

Closed JohnLBergqvist closed 5 years ago

JohnLBergqvist commented 5 years ago

Hi,

I've analysed your code base and noticed that com.trackray.base.utils.RegexUtil in the base module is not fully tested.

I've written some tests that cover the entirety of this class with the help of Diffblue Cover.

Hopefully these tests should help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other particular classes that you consider important.