-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.8.0 #67
Conversation
* Add is_substring_of assert function * Add is_not_substring_of
Prints the full command output for each test, as well as any processes launched using the `run` helper. Also includes a `verbose` option in `.zunit.yml`
Previously printed an incorrect value for the `ms` portion of the running time when it is reported at the end of the test run.
* `is_positive` * `is_negative` * `is_greater_than` * `is_less_than`
|
||
return | ||
elif [[ -z $allow_risky && $state -eq 248 ]]; then | ||
# If --verbose is specified, print test output to screen | ||
[[ -n $verbose && -n $output ]] && echo $output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this catch stderr as well as stdout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it should do, stderr is redirected to stdout here
I've had no bug reports, and tests have all gone well for me, so I'm releasing |
Features
pass
,fail
anderror
functions for use in tests (Add new pass, fail and error helper methods #74)is_substring_of
andis_not_substring_of
assertion methods (Add substring assertion functions #64)is_positive
,is_negative
,is_greater_than
andis_less_than
assertion methods (Add new integer assertion methods #75)--verbose
option to print full test output to stdout (Add --verbose option #65)Enhancements
color
dependency (Remove color dependency #73)Bugfixes
Chores
.travis.yml
to improve CI build times (Speed up travis build process #68)molovo/zunit
tozunit-zsh/zunit
Fix #63, #69, #76