choreo 0.13.0

DSL for BDD type testing.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This test verifies that cut can correctly extract a specific field from a delimited string provided via echo.
feature "Cut Utility"
actors: Terminal

scenario "Extract a field from a delimited string" {
    test CutExtractsSecondField "cut extracts the second field from a comma-delimited string" {
        given:
            Test can_start
        when:
            Terminal run "echo 'field1,field2,field3' | cut -d ',' -f 2"
        then:
            Terminal output_contains "field2"
    }
}