shadowfen / jshu Goto Github PK
View Code? Open in Web Editor NEWSimplified unit test framework for shell script which produces junit-style xml results file (for Jenkins/Hudson).
License: BSD 2-Clause "Simplified" License
Simplified unit test framework for shell script which produces junit-style xml results file (for Jenkins/Hudson).
License: BSD 2-Clause "Simplified" License
Dear Shadowfen,
when testing jshu on my Ubuntu16.1LTS system, I figured some issues:
$test_file
" variable in jshuFinalize()
(here a diff of jshutest.inc):- echo "\<testsuite failures ... "${total}\">" >${test_file}
- cat $jshu_content_file >>$test_file
- echo "\</testsuite>" >>$test_file
+ echo "\<testsuite failures ... "${total}\">" >"${test_file}"
+ cat $jshu_content_file >>"$test_file"
+ echo "</testsuite>" >>"$test_file"
cd ${_jshu_run_curdir}
quotes fixed this issue (see diff):
- cd ${_jshu_run_curdir}
+ cd "${_jshu_run_curdir}"
incrbuild_unitTest.sh
. This is most likely due to the function parseVersion()
. This function is supposed to call function in parseVersion()
from sourced script increment_build.sh
. However it ends up in an "infinite" recursion. Renaming incrbuild_unitTest.sh::parseVersion()
to incrbuild_unitTest.sh::parseVersion_Test()
solved the issue. If so, then also update content of jshuTestFunctions="parseVersion getBldFileName_noParam"
to jshuTestFunctions="parseVersion_Test getBldFileName_noParam"
regards ireicht
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.