I am creating autotest using Selenium. Outcome of the test is report file which I need to compare with expected one. Is there a way to compare to text files in Java? I would like to use wildcards to mask some data. I looked at ApprovalTests but it seems that it does not support wildcards
Asked
Active
Viewed 85 times
1 Answers
0
You might be interested inApache Lucene. From their web site:
Apache LuceneTM is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform.
And here you can get a bit detail of wildcard searching. And here some tutorials you might find useful.

HRgiger
- 2,750
- 26
- 37
-
It looks like Lucene is too big hammer for my tiny nail...but thank you anyway – jazzyekim Mar 08 '16 at 13:54