One issue here is that it may not be feasible to have a testing sandbox. So, we may need to weaken the test expectations by (for example) replacing the number in Number of projects in Forecast: %d by a constant string, e.g. "X".
[x] add FORECASTID to local .zprofile
[x] generate PAT and save in keychain as NOWWHAT_FORECAST_TOKEN
18
[x] treat Forecast and GitHub in a single test initially
[x] parameterise forecastRequest to remove constants FORECASTID and FORECASTTOKEN
[x] rename to FORECAST_ID and NOWWHAT_FORECAST_TOKEN
One issue here is that it may not be feasible to have a testing sandbox. So, we may need to weaken the test expectations by (for example) replacing the number in
Number of projects in Forecast: %d
by a constant string, e.g."X"
.FORECASTID
to local.zprofile
NOWWHAT_FORECAST_TOKEN
18
forecastRequest
to remove constantsFORECASTID
andFORECASTTOKEN
FORECAST_ID
andNOWWHAT_FORECAST_TOKEN