43 lines
1.3 KiB
Gherkin
43 lines
1.3 KiB
Gherkin
Feature: List Functionality
|
|
As a user
|
|
I want to list datasets
|
|
So that I can see what's available
|
|
|
|
Scenario: List specific datasets
|
|
When I list datasets "wordnet,schema-org"
|
|
Then the list output should show dataset information
|
|
And the list should show 2 datasets
|
|
|
|
Scenario: List empty dataset array
|
|
When I list no datasets
|
|
Then the list should show all registered datasets
|
|
|
|
Scenario: Get size category for very large dataset
|
|
When I get size category for 5000 GB
|
|
Then the size category should be "10M<n<100M"
|
|
|
|
Scenario: Get size category for extremely large dataset
|
|
When I get size category for 50000 GB
|
|
Then the size category should be "100M<n"
|
|
|
|
Scenario: Decompress file that doesn't need decompression
|
|
Given a regular uncompressed file
|
|
When I decompress the file
|
|
Then decompression should succeed without changes
|
|
|
|
Scenario: Get dataset info with error
|
|
When I get dataset info for nonexistent dataset
|
|
Then None should be returned from get_dataset_info
|
|
|
|
Scenario: Check HF exists with no organization
|
|
When I check HF without organization configured
|
|
Then the check should return false
|
|
|
|
Scenario: Check HF exists with authentication error
|
|
When I check HF with auth failure
|
|
Then the check should handle error gracefully
|
|
|
|
|
|
|
|
|