Skip to content

Investigate generating matching strings for test regexes and adding to testbed #25372

Description

@danmoseley

The regexes we may port in https://github.com/dotnet/corefx/issues/27618 will exercise our parser but not our runner.

Experiment with using REX (https://www.microsoft.com/en-us/research/project/rex-regular-expression-exploration/) to generate interesting strings for each of those interesting patterns. Then preserve some of those strings in the tests - so we have a large body of new positive tests for regex matching.

We could also generate negative tests, for example by making small changes to the positive matching strings until they did not match, and preserving those also. Those should continue to not-match.

@CyrusNajmabadi @ViktorHofer @maryamariyan

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions