peakshift / fovea

β±πŸ’ΈπŸ“Š – Secure the bag in real time
0 stars 3 forks source link

Write Scenarios: Database Library (mongodb) #12

Open micey969 opened 6 years ago

micey969 commented 6 years ago
Estimate:
Due: 11-05-2018
Status: NOT_APPROVED
Scenario: Scenarios are written for the database interaction
Given there is a database class
And it uses mongodb
And mongodb module is specified in requirements.txt
When I see "features/database.feature"
Then there is a scenario for "Connect to mongodb"
And a scenario for "Create a collection"
And a scenario for "Query a collection"
And a scenario for "Query a collection item by id"
And a scenario for "Insert object into a collection"

NOTES

This is a draft. Work has not been approved