Using non-ascii characters in test name

I would like to use non-ascii characters in a test's name. I know you can't have non-ascii characters in the function name but is there a way to rename or alias the test?

I don't think there's a way to do this in the standard library's test harness. The speculate crate provides an alternate test framework that lets you name test cases with strings instead of identifiers.

Non-ASCII identifiers will eventually be supported (with several restrictions) in the Rust language, and there are also long-term plans to make testing more customizable.

Ok, cool. I will look into speculate. Also I will definitely follow the development of Non-ASCII identifiers.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.