分页: 1 / 1
shelltestrunner
发表于 : 2012-05-08 17:44
由 millenniumdark
推薦下,測試shell腳本的利器
http://joyful.com/shelltestrunner/
那個測試文件的寫法很方便,類似Python的doctest,偶喜歡。
Re: shelltestrunner
发表于 : 2012-05-08 18:23
由 枫叶饭团
我讨厌shell
Re: shelltestrunner
发表于 : 2012-05-08 19:07
由 lilydjwg
这个不错。也不一定非要用来测 shell 啊,其它有输入/输出的脚本照样也可以测。
Re: shelltestrunner
发表于 : 2013-11-09 16:22
由 millenniumdark
最近开始用这个bats,用bash实现的,哪里都能用。
写法也很明快。
https://github.com/sstephenson/bats
Re: shelltestrunner
发表于 : 2013-11-10 18:11
由 lilydjwg
支持 bash 3.x 么

Re: shelltestrunner
发表于 : 2013-11-11 23:02
由 millenniumdark
lilydjwg 写了:
支持 bash 3.x 么 :-D
不清楚。你什么系统还没升到 bash 4?
Re: shelltestrunner
发表于 : 2013-11-12 12:16
由 lilydjwg
millenniumdark 写了:lilydjwg 写了:
支持 bash 3.x 么

不清楚。你什么系统还没升到 bash 4?
不是说 Mac OS X 的 bash 因为版权原因停留在了 3.x 么
