rejeep / ert-runner.el

Opinionated Ert testing workflow
85 stars 19 forks source link

loading fails if ERT_RUNNER_ARGS are not set #21

Closed andreas-roehler closed 9 years ago

andreas-roehler commented 9 years ago

Plains loading of the library should depend on setting of ERT_RUNNER_ARGS

Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(" " nil 0) split-string(nil " " nil) s-split(" " nil) (-reject (quote s-blank\?) (s-split " " (getenv "ERT_RUNNER_ARGS")))

swsnr commented 9 years ago

@andreas-roehler ert-runner is no library…

rejeep commented 9 years ago

@lunaryorn Would make sense to split it up to ert-runner and ert-runner-cli, like with Cask. That way it would be easier to unit test. Now there are only Ecukes tests.

rejeep commented 9 years ago

@andreas-roehler But like @lunaryorn said, it's not a library ATM, so you cant require it.

rejeep commented 9 years ago

Closing this.