unicode-transforms icon indicating copy to clipboard operation
unicode-transforms copied to clipboard

Conformance testing

Open harendra-kumar opened this issue 5 years ago • 3 comments

Need to implement unicode conformance testing. See https://www.unicode.org/reports/tr15/tr15-18.html#Conformance%20Testing .

harendra-kumar avatar May 07 '20 10:05 harendra-kumar

We use the unicode normalization test suite for testing, but we need to check if there are any more resources/ways to test so that testing is robust and complete. Does standard specify more ways to test?

harendra-kumar avatar May 07 '20 10:05 harendra-kumar

One could possibly modify QuickCheckUtils.hs to generate "more interesting" strings, with increased density of combining/decomposable characters.

Bodigrim avatar May 10 '20 14:05 Bodigrim

Yes, and we can do the same for testing against ICU. We have a testsuite that normalizes random strings using unicode-transforms and ICU both and then compares the results. There as well we need to check if we are using interesting strings.

harendra-kumar avatar May 11 '20 03:05 harendra-kumar