REGEX
TESTING
BE LAZY – Automate everything!
Do you know what is Regular Expression?
Problem examples
Problem examples
Problem “solutions” examples
Problem “solutions” examples
https://adolfi.dev/blog/unit-testing-regex/
TRIZ on the rescue
Let the robots sweat, humans relax!
The ideal object is an object that does not
exist, but its functions are performed.
We do not write unit tests, but we can run them!
Magic. Step1. Let’s define a regex pattern.
Magic. Step2. Install magic Nuget 
Magic. Step3.Add positive test samples
Magic. Step3.Add negative test samples
Magic. Step3.Add Gray-ZONE test samples
DO Nothing & Get results!
Examples from test project
Invisible test  results!
Navigation!
Navigation route us directly to the source!
I saw an error on previous slide, show me!
Result details for free!
High-level details
1. Implement ITestDiscoverer
TestCase
2. Implement ITestExecutor
Results over everything
Curious fact with
ITestExecutor?
Why SOLID is important?
ITestExecutor should be a bit ITestDiscoverer
https://github.com/DimonSmart/RegexUnitTester
How It All Started. (DevDay: .NET (RUS)
https://www.youtube.com/watch?v=HXSJQ6d4AE8

How to automatically create and run Regular Expression unit tests