Choosing a Testing Style
Explore the different testing styles supported by ScalaTest.
How to choose a style
ScalaTest lets us choose a testing style. This means we can select one of its style traits, which, in turn, will drive the way we write our test cases. In this lesson, we’ll explore the available testing styles in ScalaTest. But the goal of such a wealth of testing styles is not to have developers use different styles in the same project. ScalaTest’s documentation advises choosing only one style for each project.
Get hands-on with 1400+ tech skills courses.