unic / ScalaWebTest

ScalaWebTest is a library for writing ScalaTest/Selenium based integration tests for web applications. It helps you with your basic setup and provides a new and very efficient approach to testing.
https://scalawebtest.org
Apache License 2.0
29 stars 9 forks source link

Improve error messages in JsonGauge #86

Closed DaniRey closed 5 years ago

DaniRey commented 5 years ago

When types are not correct in a JSON gauge, we currently call fail. Instead we should call shouldBe a[Type] from ScalaTest to get improved error messages and use withClue for some additional context.