Sunday, 11 September 2016

Parameters passed to @Test annotation

•       dataProvider : The name of the data provider for this test method.

•       dependsOnMethods : The list of methods this method depends on.

•       enabled : Whether methods on this method are enabled.

•       groups :  The list of groups this class/method belongs to.

•       expectedExceptions : The list of exceptions that a test method is expected to throw. If no exception or a different than one on this list is thrown, this test will be marked a failure.


•       timeOut : The maximum number of milliseconds this test should take.

Next

No comments:

Post a Comment