Skip to content

Make RandomizedTesting into a separate library #257

@clambertus

Description

@clambertus

We have ported the generators from RandomizedTesting that Lucene.NET needs to support its tests and added this code to the TestFramework (unlike Lucene), both as a static utility class and as extension methods. The generators we have now in the TestFramework are probably enough to cover most random testing use cases for end users.

That said, it would be useful for the .NET community at large if the random generators were made into a separate library so randomized test data can be easily generated without referencing the Lucene.NET test framework. The latest version of RandomizedTesting has more options for generating random data than what we have ported.

The library should be named after RandomizedTesting (possibly RandomizedTesting.Generators) so that someday if the test runner is also ported (see #264), there is a logical way to integrate it.

This task would make a great little project for anyone who wants to contribute to the Lucene.NET effort.

JIRA link - [LUCENENET-635] created by nightowl888

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions