hhariri/spek — pull request #6 by mhshams (2013-04-21 17:51:23+00:00)
Title: Fixed: need for a solution to skip a spek, a given, an On or an It.

Hi,

I've implemented a basic solution to skip some of the cases.

here is an example:
```java

//1:an annotation, to skip whole class - reason is mandatory (couldn't make it optional)
skip("a reason") class SkipSample: ConsoleSpek() {{

//2: a function call, to skip the next 'given'. (reason is optional parameter)
skip("a reason") //2.A: another way: skip("a reason").given("a sample") {
given("a sample") {

//3: a function call, to skip the next 'on' (reason is optional parameter)
skip("a reason") //3.A: also could be: skip("a reason").on("calling ...") {
on("calling a functiono") {
val result = 10
it("should return 10") {
shouldEqual(result, 10)
}

//4: a function call, to skip the next 'It' (reason is optional parameter)
skip("a reason") //4.A: another form: skip("my reason).it("....") {
it("should not return 11") {
shouldNotEqual(result, 11)
}
}
}
}}
```