bashunit
bashunit copied to clipboard
Test your bash scripts in the fastest and simplest way, discover the most modern bash testing framework.
Example of tools we could use: https://github.com/dandavison/delta
 # Options for the system level - Generate a deb package / AppImage - Generate a brew package - Create a sh script that allows the user to install...
Related to: https://github.com/TypedDevs/bashunit/issues/71 We may need to create a script to make the new releases of the library. @Chemaclass and @Tito-Kati opninios?
use la all the bash libraries https://github.com/infertux/bashcov
#### Summary I run the test and everything it's ok. I add 2 test that should fail for example: ```bash function test_successful_assert_string_starts_with() { assert_empty "$(assert_string_starts_with "ho" "house")" } function test_unsuccessful_assert_string_starts_with()...
I've implemented an acceptance test over bashunit and my test failed because I needed it to know the exit code of the test and added to my output, even when...
https://docs.phpunit.de/en/10.5/assertions.html#assertstringmatchesformat
been able to know what were the arguments of the second call to a spy ex: https://jestjs.io/docs/expect#tohavebeennthcalledwithnthcall-arg1-arg2- > See current spy docs: https://bashunit.typeddevs.com/test-doubles#spy
Example: https://docs.phpunit.de/en/10.4/textui.html#logging Generate a log file with the output of what was executed
Some improvements need to be made to the simple output, the one currently implemented is a very simple first iteration but requires a few enhancements to match the verbose output....