elementor / lokl-cli

Interactive script to launch and manage your Lokl sites
The Unlicense
66 stars 7 forks source link

add unit tests while doing next refactor #11

Closed leonstafford closed 3 years ago

leonstafford commented 3 years ago
leonstafford commented 3 years ago

allowing args passed to script will make it easier to test (along with the benefit of enhanced functionality)

so, we should be able to do things like

leonstafford commented 3 years ago

and adjust command to just lokl, so lokl create mynewsite --php 8

Update: forget this, args being set via vars, like var1=foo sh go.sh. Actions like launching in browser can remain via wizard, no big need to ad-hoc run that

leonstafford commented 3 years ago

unit tests / code coverage progressing nicely now.

example coverage chunk:

Screen Shot 2020-12-25 at 4 39 19 pm

leonstafford commented 3 years ago

unit/integration tests and code coverage implemented with shellspec