spockframework / spock

The Enterprise-ready testing and specification framework.
https://spockframework.org
Apache License 2.0
3.54k stars 466 forks source link

Support specification scripts #154

Open robfletcher opened 9 years ago

robfletcher commented 9 years ago

Originally reported on Google Code with ID 31

Ideas:
 - Groovy script that imports @Speck is considered a specification
 - Script class is annotated with @Speck and @RunWith behind the scenes
 - Make sure that the specification is also run when the script's main method is invoked
(important 
for tools that fail to identify the script as a specification (e.g. IDEs))

Reported by pniederw on 2009-06-26 21:30:55

robfletcher commented 9 years ago

Reported by pniederw on 2009-10-28 00:50:59