Skip to content

Commit

Permalink
Added StringSpec to changelog #32
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Jun 21, 2016
1 parent 9601388 commit 9213042
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ Version 1.3.0, released YYYY-MM-DD TODO

### Added

* StringSpec. You can use simply use Strings as the basis for tests, eg:

```kotlin
class StringSpecExample : StringSpec() {
init {
"strings.size should return size of string" {
"hello".length shouldBe 5
"hello" should haveLength(5)
}

"strings should support config" {
"hello".length shouldBe 5
}.config(invocations = 5)
}
}
```

* Table Tests. Tables allow you to manually specific combinations of values that should be used, and are useful for edge cases and other specific values you want to test. An example of using a table consisting of two-value tuples:

```kotlin
Expand Down

0 comments on commit 9213042

Please sign in to comment.