diff options
author | Malfurious <m@lfurio.us> | 2021-08-23 07:35:24 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2021-08-23 07:35:24 -0400 |
commit | 0175c1c40f9567a401a986d85ab6d6f5365eec7a (patch) | |
tree | 6e631a29735ab0c5ca0f1650934da3a24eecff62 /test/test-sonar-base.sh | |
parent | 6c08d333a74aacd1fa9d14de9abab38ede4a8e88 (diff) | |
download | git-sonar-0175c1c40f9567a401a986d85ab6d6f5365eec7a.tar.gz git-sonar-0175c1c40f9567a401a986d85ab6d6f5365eec7a.zip |
Remove unit tests
I don't particularly wish to maintain these tests for a few reasons:
* Many of them make assertions strictly about rendered text / UI
* Many of them test external systems and touch the disk
* There are platform-dependent details that complicate several
tests.
So, the tests are removed. Ideally, the main script is reworked into
something simple enough it doesn't necessarily warrant heavy testing.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'test/test-sonar-base.sh')
-rwxr-xr-x | test/test-sonar-base.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/test-sonar-base.sh b/test/test-sonar-base.sh deleted file mode 100755 index 7c0c742..0000000 --- a/test/test-sonar-base.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -scriptDir="$(cd "$(dirname "$0")"; pwd)" - -source "$scriptDir/sonar-base.sh" - -test_show_remote_status() { - show_remote_status - assertTrue $? - - show_remote_status --bash - assertTrue $? - - show_remote_status --bash --fetch - assertTrue $? - - show_remote_status --bash --no-remote-status --fetch - assertFalse $? - - show_remote_status --bash --fetch --no-remote-status - assertFalse $? - - show_remote_status --no-remote-status --bash --fetch - assertFalse $? - - show_remote_status --bash --fetch --minimal --no-remote-status - assertFalse $? -} - -. ./shunit/shunit2 |