Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emilyjspencer/boris
OOP Exercise, test-driven in Ruby with the testing framework RSpec
https://github.com/emilyjspencer/boris
oop rspec ruby tdd test-driven-development
Last synced: about 2 months ago
JSON representation
OOP Exercise, test-driven in Ruby with the testing framework RSpec
- Host: GitHub
- URL: https://github.com/emilyjspencer/boris
- Owner: emilyjspencer
- Created: 2020-06-12T13:17:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T19:59:48.000Z (over 4 years ago)
- Last Synced: 2024-10-30T02:37:51.835Z (3 months ago)
- Topics: oop, rspec, ruby, tdd, test-driven-development
- Language: Ruby
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Boris Bikes
##### Brief:
**Transport for London**, the body responsible for delivery of a new bike system, comes to you with a plan: a network of docking stations and bikes that anyone can use. They want you to build a program that will emulate all the docking stations, bikes, and infrastructure (repair staff, and so on) required to make their dream a reality.
### User Stories
```
As a person,
So that I can use a bike,
I'd like a docking station to release a bike.As a person,
So that I can use a good bike,
I'd like to see if a bike is workingAs a member of the public
So I can return bikes I've hired
I want to dock my bike at the docking station.As a member of the public
So I can decide whether to use the docking station
I want to see a bike that has been docked.As a member of the public,
So that I am not confused and charged unnecessarily,
I'd like docking stations not to release bikes when there are none available.As a maintainer of the system,
So that I can control the distribution of bikes,
I'd like docking stations not to accept more bikes than their capacity.As a system maintainer,
So that busy areas can be served more effectively,
I want to be able to specify a larger capacity when necessary.As a member of the public,
So that I reduce the chance of getting a broken bike in future,
I'd like to report a bike as broken when I return it.As a maintainer of the system,
So that I can manage broken bikes and not disappoint users,
I'd like docking stations not to release broken bikes.As a maintainer of the system,
So that I can manage broken bikes and not disappoint users,
I'd like docking stations to accept returning bikes (broken or not).As a maintainer of the system,
So that I can manage broken bikes and not disappoint users,
I'd like vans to take broken bikes from docking stations and deliver them to garages to be fixed.As a maintainer of the system,
So that I can manage broken bikes and not disappoint users,
I'd like vans to collect working bikes from garages and distribute them to docking stations.```