issues
search
danielherrerohernando
/
ohce-kata
Carlos Jiménez @betisman & Daniel Herrero - Award Winning Solution for GuideSmiths 2019 Christmas Challenge
3
stars
0
forks
source link
Runtime functionality
#4
Closed
danielherrerohernando
closed
4 years ago
danielherrerohernando
commented
4 years ago
Runtime functionality
Tests
[x] Write tests to check CLI app output depending on inputs (create child process handler etc)
[x] Create mocks for functions like getCurrentHour or getUsername (seems like mocking is one of the things to try when working on this kata).
Code
[x] Manage app state (username)
[x] Manage user input via process.stdin i.e. using the readline native Node module.
[x] Manage app exit
Runtime functionality
Tests
Code