Open ezh opened 7 years ago
Enlighten shpec mailfunction: https://travis-ci.org/ezh/shpec/builds/217703619
Unable to process files with space in name: bash https://travis-ci.org/ezh/shpec/jobs/217703621 dash https://travis-ci.org/ezh/shpec/jobs/217703622 ksh https://travis-ci.org/ezh/shpec/jobs/217703623
Please note that errors within zsh are different One test in multiple_args block are passed and this is second argument. zsh alias is broken. zsh https://travis-ci.org/ezh/shpec/jobs/217703624
I'm happy to fix it up in #107 Rebase on master branch with OSX in test matrix was a bit tough. 😄
@AdrieanKhisbe @ezh I could use your help here. I'm trying to reproduce this issue on CI for a regression test and I'm having some trouble.
As per my comment, the way that we run unit tests and the way that the shpec executable is interpreted means that we can't write a unit test for the antigen plugin (at least as it currently exists). Couple that with the inability to execute aliases on Travis, and I'm at a loss.
I would love it if we could somehow write a regression test for this (and for argument handling of the executable in general), but since that seems like a lot of effort for not a lot of gain, I would be happy with just fixing the damn plugin :wink:.
@ezh, I would love to give you credit for your time and effort on this issue; if you could submit a PR with just your changes to the antigen plugin, @AdrieanKhisbe and I can test it independently and then merge.
@rylnd Your logic is distracted for me. I don't understand what you do. I rewrite it a bit and now tests are successful.
Anyway, few notes for .travis.yml
ANTIGEN
variable is confused users.travis.yml
and see no shpec -v
verification. As I remember that I catched error in master with one shell configuration, but not zsh
one. So sad that you ignore the simplest tests. @ezh
ZSH_PLUGIN
.A final note: please refrain from the negative comments; they are unnecessary and unwelcome here. Describing my decisions as "sad" or the plugin as "crappy" is not productive and only reflects poorly on you.
Right now shpec is alias
shpec -v
,shpec file
is not workingI offer to use function instead of alias. We may guard execution with ()
It maybe something like
There is a problem with multiple arguments, but this is different issue.