expectedExceptionsMessageRegExp attribute of @Test
This post will discuss the expectedExceptionsMessageRegExp attribute of @Test annotation in TestNG. What does this attribute do? According to the documentation – If expectedExceptions was specified, its message must match the regular expression specified in this attribute. So, this means we won’t be able to use this attribute without using expectedExceptions first. Please, read this […]
expectedExceptionsMessageRegExp attribute of @Test Read More »