-2

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

jazzyekim
  • 101
  • 1
  • 10

1 Answers1

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