Regular expressions in VS

Today one of the new developers on our team made a textbook mistake when creating test data for one of our system. He crafted by hand dozens of objects that would initialize repositories used by the system and wrote a bunch of tests that asserted overall flow and transformations of that data.

This worked really well, and we decided to use this data for initial UAT tests. But after deployment a straightforward error kept appearing:

String was not recognized as a valid DateTime.

Continue reading “Regular expressions in VS”