15 строки
333 Б
Gherkin
15 строки
333 Б
Gherkin
Feature: ls
|
|
In order to see the directory structure
|
|
As a UNIX user
|
|
I need to be able to list the current directory's contents
|
|
|
|
Scenario:
|
|
Given I am in a directory "test"
|
|
And I have a file named "foo"
|
|
And I have a file named "bar"
|
|
When I run "ls"
|
|
Then I should get:
|
|
"""
|
|
bar
|
|
foo
|
|
"""
|