mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 14:31:28 +00:00
Add limitation
This commit is contained in:
parent
fa105c7c35
commit
8e99073b38
@ -15,4 +15,7 @@ Take existing legacy code and add a new feature.
|
||||
|
||||
## Limitations
|
||||
|
||||
The test spec required that I did not alter the Item class. This made it more difficult to apply OOD principles. I have instead created a module for each item type, which still allows for encapsulation.
|
||||
The test spec required that I did not alter the Item class. This made it more difficult to apply OOD principles. I have instead created a module for each item type, which still allows for encapsulation.
|
||||
|
||||
My tests verged on state driven rather than behaviour driven. I could not find an equivalent of RSpec's "change by" matcher for Jasmine. Any tips would be appreciated.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user