Re: I Have a Question in 'BaseTokenStreamTestCase.java'

2024-10-04 Thread Seunghan Jung
Thank you for your response, @Michael Sokolov. I will make sure to study more about the “fuzz testing” you mentioned. The reason for my question this time is related to the KoreanTokenizerFactory test code. When using assertTokenStreamContents, which compares typeAttributes, it throws the “java

Re: I Have a Question in 'BaseTokenStreamTestCase.java'

2024-09-29 Thread Michael Sokolov
Lucene's test framework makes heavy use of randomization in order to explore more of the vast space of possible states. You might be familiar with this as "fuzz testing"? There's a blog post about it here (from 2011!) https://blog.mikemccandless.com/2011/03/your-test-cases-should-sometimes-fail.htm

I Have a Question in 'BaseTokenStreamTestCase.java'

2024-09-26 Thread Seunghan Jung
Hello Lucene Developers, I’m writing because I have a question regarding the Tokenizer-related test code. I was looking at the following code in the link below: https://github.com/apache/lucene/blob/7b4b0238d7048a0f8532ce55afb72f89dfd69b1c/lucene/test-framework/src/java/org/apache/lucene/tests