-
Notifications
You must be signed in to change notification settings - Fork 683
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
print profile summary and test summary #1083
Conversation
afb61a1
to
318a1fc
Compare
@vjeffrey I think the remaining failures are related to |
argh!!!!!! ok, i'll go try to fix that. argggg |
318a1fc
to
78bbf73
Compare
mo-flippin-o i'm down to one failing test. almost there. |
8c00855
to
8bfb1a1
Compare
8bfb1a1
to
e28572e
Compare
ready for review! |
failed += 1 | ||
elsif control[:results].any? { |r| r[:status] == 'skipped' } | ||
skipped += 1 | ||
@anonymous_tests.each do |control| |
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.
Please count control_tests too :)
else | ||
passed += 1 | ||
passed +=1 |
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.
please add spaces
COLORS['passed'], 0, COLORS['reset'], | ||
COLORS['failed'], 0, COLORS['reset'], | ||
COLORS['skipped'], 0, COLORS['reset']) | ||
output.puts(s) if @current_control.nil? || (@anonymous_tests.empty? && controls_res['total'] == 0) |
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.
Please remove this old-school summary and use the Test summary instead (adjusting functional tests)
e28572e
to
ecac8ae
Compare
comments addressed @arlimus :) |
Awesome improvement, thank you @vjeffrey !! 😄 |
i put a wip on it only because I'm working on getting the two shell functional tests that are failing to a passing state; i'm a little confused about why they're failing, since running the same thing those tests are running manually gives me the correct output.
![screen shot 2016-09-15 at 4 50 47 pm](https://cloud.githubusercontent.com/assets/10341541/18567092/9bcd19e2-7b64-11e6-8f16-524d9ecb5c7d.png)
![screen shot 2016-09-15 at 4 50 55 pm](https://cloud.githubusercontent.com/assets/10341541/18567093/9d2203a2-7b64-11e6-9394-c096fedab2c0.png)
![screen shot 2016-09-15 at 4 51 02 pm](https://cloud.githubusercontent.com/assets/10341541/18567099/9f462906-7b64-11e6-9475-2bd221ce59fb.png)
fixes #852