Skip to content

Instantly share code, notes, and snippets.

@smallgeek
Created August 26, 2012 05:39
Show Gist options
  • Save smallgeek/3474639 to your computer and use it in GitHub Desktop.
Save smallgeek/3474639 to your computer and use it in GitHub Desktop.
NaturalSpec_Tutorial_1_1
[<Scenario>]
let When_removing_an_3_from_a_small_list_it_should_not_contain_3() =
Given [1;2;3;4;5] // "Arrange" テストコンテキスト
|> When removing 3 // "Act"
|> It shouldn't contain 3 // "Assert"
|> It should contain 4 // 別の表明
|> Verify // シナリオの検証
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment