Находки в опенсорсе
12.8K subscribers
23 photos
2 videos
3 files
871 links
Привет!

Меня зовут Никита Соболев. Я занимаюсь опенсорс разработкой полный рабочий день.

Тут я рассказываю про #python, #c, #opensource и тд.
Поддержать: https://boosty.to/sobolevn
РКН: https://vk.cc/cOzn36

Связь: @sobolev_nikita
Download Telegram
​​Dead simple testing framework for #bash with coverage.

Code sample:

 test-foobar.sh

# Include your source files
source foobar.sh
# Include the framework
source critic.sh

# Write tests
_describe foo
_test "output should equal foo"
_assert _output_equals "foo"

_test "return code should be 0"
_assert _return_true "Optional assertion message"


https://github.com/Checksum/critic.sh