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

Display helpful message when custom assert fails #36

Open
adeel41 opened this issue Jan 13, 2015 · 0 comments
Open

Display helpful message when custom assert fails #36

adeel41 opened this issue Jan 13, 2015 · 0 comments
Milestone

Comments

@adeel41
Copy link
Contributor

adeel41 commented Jan 13, 2015

Currently when a custom assertion fails, Xenon display only Custom assertion failed message. It will be much nicer if we display what was the custom assertion e.g.

Assert( a => a.CustomAssertion( c => c.FindElementsByCssSelector("div.files div").Count() == 3 ) )

To make Xenon useful, We should display the following error message when this assertion fails.

Custom assertion failed when trying to FindElementsByCssSelector( "div.files div" ).Count() == 3 
@jrote1 jrote1 added this to the 0.1.3 milestone Jan 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants