43 lines
1.5 KiB
Gherkin
43 lines
1.5 KiB
Gherkin
Feature: Dataset Selection and Filtering
|
|
As a data engineer
|
|
I want to select specific datasets or categories to process
|
|
So that I can control which datasets are uploaded
|
|
|
|
Scenario: List all datasets
|
|
When I run upload script with "--list"
|
|
Then the script should succeed
|
|
And the output should list available datasets
|
|
|
|
Scenario: Select single dataset by name
|
|
When I run upload script with "--dataset wordnet --list"
|
|
Then the output should contain "wordnet"
|
|
And the output should show 1 dataset
|
|
|
|
Scenario: Select multiple datasets by name
|
|
When I run upload script with "--dataset wordnet --dataset yago-4.5 --list"
|
|
Then the output should contain "wordnet"
|
|
And the output should contain "yago-4.5"
|
|
And the output should show 2 datasets
|
|
|
|
Scenario: Select datasets by category small
|
|
When I run upload script with "--category small --list"
|
|
Then the output should list only small datasets
|
|
|
|
Scenario: Select datasets by category medium
|
|
When I run upload script with "--category medium --list"
|
|
Then the output should list only medium datasets
|
|
|
|
Scenario: Select all datasets
|
|
When I run upload script with "--category all --list"
|
|
Then the output should list all registered datasets
|
|
|
|
Scenario: Filter unavailable datasets
|
|
When I run upload script with "--list"
|
|
Then unavailable datasets should be marked clearly
|
|
|
|
Scenario: No datasets specified shows help
|
|
When I run upload script with no arguments
|
|
Then the script should show help message
|
|
And exit with code 1
|
|
|