Skip to content

DimonSmart/RegexUnitTester

Repository files navigation

DimonSmart.RegexUnitTester.TestAdapter

🔵 Easily test your regex patterns without writing a single line of code!

Overview

The DimonSmart.RegexUnitTester.TestAdapter leverages custom attributes to automatically generate and execute regex tests, streamlining your testing process by eliminating the need for manual test script writing.

Features

  • Purpose: Automatically runs unit tests for regex patterns using specialized attributes:
    • ShouldMatchAttribute: Ensures a regex correctly matches expected data.
    • ShouldNotMatchAttribute: Confirms a regex fails to match unwanted data.
    • InfoMatchAttribute: Handles ambiguous cases for further analysis without affecting test outcomes.

For detailed descriptions and usage examples, check the Attributes README.

Installation

To install DimonSmart.RegexUnitTester.TestAdapter, execute:

Install-Package DimonSmart.RegexUnitTester.TestAdapter

Contribution

Contributions are welcomed; please visit our contribution guidelines for more information.

License

This project is licensed under the 0BSD License, which is one of the most permissive licenses available. This means that the DimonSmart.RegexUnitTester.TestAdapter are completely free for both personal and commercial use. You are allowed to use, modify, and distribute the software without any restrictions.

For more details on the license, you can review it here.

About

Attribute based unit tests for Regular Expressions

Resources

License

Stars

Watchers

Forks

Packages

No packages published