The Artima Developer Community
Sponsored Link

Programming in Scala Forum
Spec trait of ScalaTest

2 replies on 1 page. Most recent reply: Sep 14, 2008 11:16 AM by Daniel Sheppard

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Daniel Sheppard

Posts: 2
Nickname: 58180
Registered: Sep, 2008

Spec trait of ScalaTest Posted: Sep 12, 2008 2:08 PM
Reply to this message Reply
Advertisement
Section 14.5 (page 287 onwards) describes a trait called Spec that supports behaviour-driven development. However I can't find this in ScalaTest.

Have I missed something?


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: Spec trait of ScalaTest Posted: Sep 13, 2008 5:41 PM
Reply to this message Reply
Hi Daniel,

Easy to miss. There's a note in the Preface that some of the ScalaTest stuff in the Unit testing chapter will not be released until after the book goes to the printer. It is in the trunk, but not in the current release. Sorry. The problem is if I take a week to do the next ScalaTest release, the book will be delayed by another week. If you want to play with it before then you can grab it from the trunk:

https://scalatest.dev.java.net/source/browse/scalatest/

Daniel Sheppard

Posts: 2
Nickname: 58180
Registered: Sep, 2008

Re: Spec trait of ScalaTest Posted: Sep 14, 2008 11:16 AM
Reply to this message Reply
Hi Bill,

I must say that the book is awesome and certainly one of the more accessible technical books that I've come across. I'll get myself a dev-build of ScalaTest to try Spec out. It does look like a good example of how adaptable and expressive Scala can be.

With thanks

Daniel Sheppard

Flat View: This topic has 2 replies on 1 page
Topic: Scala for different platform Previous Topic   Next Topic Topic: Compilation errors

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use