AndreiUlmeyda / oil

Search-as-you-type cli frontend for the buku bookmarks manager using peco.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement tests or rip them out

AndreiUlmeyda opened this issue · comments

Mocking is, even with bats, not too comfortable. Subsequent runs of the tests are not mutually independent leading to tests sometimes failing or passing without apparent reason. Feeding input to the jq script in tests is awkward and a syntactical plague if it works at all. Find another testing library, scrap the tests or abandon bash.

Ripping out it is.