summaryrefslogtreecommitdiff
path: root/autotests/test-lib.sh
AgeCommit message (Expand)AuthorFilesLines
2019-01-11test-lib.sh: run: eat xdg-open's exit codeRichard Tollerton1-1/+1
2015-10-05test-lib: take arbitrary script code as argument to mockPer Olofsson1-20/+6
2015-09-27test-lib: add mock_output()Per Olofsson1-5/+15
2015-09-26test-lib: better assertion failed message for assert_runPer Olofsson1-1/+1
2015-09-26indentationPer Olofsson1-8/+8
2015-09-26use $LABHOME/.local/share for $XDG_DATA_HOMEPer Olofsson1-2/+1
2015-09-26test-lib: always mock x-www-browser so we have a fallbackPer Olofsson1-0/+1
2015-09-26put default apps in $XDG_CONFIG_HOME/mimeapps.listPer Olofsson1-1/+1
2015-09-26test-lib: add mock_desktop_file and mock_default_appPer Olofsson1-0/+18
2015-09-26test-lib: add XDG_CONFIG_HOME and create it in reset_lab_()Per Olofsson1-0/+2
2015-09-26test-lib: nicer output formattingPer Olofsson1-2/+2
2015-09-26autotests: set COMMAND_TESTED in each test file and rename test_that to test_...Per Olofsson1-4/+4
2015-09-26test-lib: don't trace which commands are run unless TRACE_RUN=1Per Olofsson1-1/+4
2015-09-26add test_that invocations before every testPer Olofsson1-1/+0
2015-09-26test-lib: rename setup_lab to reset_lab_Per Olofsson1-3/+3
2015-09-26test-lib: add test_that function that resets the lab, echoes the argument and...Per Olofsson1-1/+10
2015-09-26test-lib: add XDG_CONFIG_DIRS to environmentPer Olofsson1-1/+5
2015-09-26autotests: add LABHOME directory lab/home and set HOME to LABHOME when runnin...Per Olofsson1-1/+3
2015-09-26test-lib: clear $BROWSER in setup_labPer Olofsson1-1/+3
2015-09-22test-lib.sh: pass on XDG_UTILS_DEBUG_LEVEL in run()Per Olofsson1-0/+1
2015-09-22test-lib.sh: add assert_file_existsPer Olofsson1-0/+8
2015-09-22test-lib.sh: create hicolor icon directories in labPer Olofsson1-3/+6
2015-09-20collect failed assertions instead of abortingPer Olofsson1-1/+3
2015-09-20add BROWSER to envPer Olofsson1-0/+3
2015-09-20make applications directories and add assert_equal() functionPer Olofsson1-4/+20
2015-09-20Introduce an automated test suite.Per Olofsson1-0/+151