Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VerificationUtils static class #279

YevgeniyShunevych opened this issue May 30, 2019 · 0 comments


1 participant
Copy link

commented May 30, 2019

Add VerificationUtils static class containing a set of helper methods used for verifications (standard and custom ones). Actually, methods should be moved to it from IDataVerificationProviderExtensions with updates.


public static string ToString(IEnumerable collection);

public static string ToString<T>(IEnumerable<T> collection);

public static string ToString<T>(Expression<Func<T, bool>> predicateExpression);

public static string ToString(Expression expression);

public static string ToString(object value);

public static string GetItemTypeName(Type type);

public static Exception CreateAssertionException<TData, TOwner>(IDataVerificationProvider<TData, TOwner> should, string expected, string actual, Exception exception)
    where TOwner : PageObject<TOwner>;

public static Exception CreateAssertionException(string message, Exception innerException = null);

public static string BuildExpectedMessage(string message, object[] args);

public static string BuildConstraintMessage<TData, TOwner>(IDataVerificationProvider<TData, TOwner> should, string message, params TData[] args)
    where TOwner : PageObject<TOwner>;

@YevgeniyShunevych YevgeniyShunevych added this to the 1.2.0 milestone May 30, 2019

@YevgeniyShunevych YevgeniyShunevych self-assigned this May 30, 2019

YevgeniyShunevych added a commit that referenced this issue May 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.