hhariri/spek — pull request #10 by mhshams (2013-04-23 17:04:38+00:00)
Title: new implementation for 'skip' and  'pending'

Hi,

I've implemented a new solution for skip. skip must be inside methods now.

example:

````java
class SkipItSpek: ConsoleSpek() {{
given("a situation") {
on("an event") {
it("should A") {
skip("not ready yet")
assertTrue(true)
}

it("should B") { }
}
}
}}
```

and also 'pending' has been added to mark not implemented features

exampe:

```java
class PendingItSpek: ConsoleSpek() {{
given("a situation") {
on("an event") {
it("should A") {
pending("not implemented yet")
}

//default pending.
it("should B")
}
}
}}
```

for more examples, check SkipTest in JUnit and Console modules.