shunit2 icon indicating copy to clipboard operation
shunit2 copied to clipboard

shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.

Results 49 shunit2 issues
Sort by recently updated
recently updated
newest added

Hello, Shunit2 is amazing But I don't find how to request report file generation. Please advise Regards, Arnaud

# Description When shunit2 is executed in *standalone mode* (in Bash shell) and there are failing test cases, there will be a warning message "can only `return' from a function...

Proposing use of https://bpkg.sh/ or any other package manager to allow use in systems where multiple shell dependencies may be included just like PHP and composer, node and npm. This...

`shunit2_misc_test.sh` is tested with the shell that set in the environment variable `$SHELL`. e.g. ```sh # Note: the test script is prefixed with '#' chars so that shUnit2 does not...

bug

[blob/master/README.md](https://github.com/kward/shunit2/blob/master/README.md) says fail [message] Fails the test immediately. I thus tried the following code. ``` $ cat t.sh #!/bin/bash testA() { fail "A" fail "B" } source shunit2 $ ./t.sh...

bug

I have been pulling master and had functions that were executing within these hooks and saw what seems to be some unintended behavior. Example file as show below: ``` testSomething()...

I have been testing some functions that occasionaly call `exit 1`. Those functions stop the execution of the test file. Before stopping, `shunit2` always says `Ran X tests.`, where `X`...

I received the below error when I run ./test_runner after I did some modifications to `shunit2` code #89 what should I do with this error? ``` testIssue54 ASSERT:call to [...

With this patch: ``` assertEquals "deadbeef" "deadbuff" ``` will output like this ``` ASSERT: expected: ---------------^ but was : ```

``` Not an issue but an enhancement. I noticed that the skip count was displayed, but not which tests were actually skipped. Since some of my tests only occurs in...

enhancement
Priority-Medium
auto-migrated