-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
@announce tag too verbose in 0.4.6 #91
Comments
Is there any chance you could investigate this for us? Ideally you would trap it with a spec around Aruba::Api, could you help with that please? |
Matt, are you suggesting that we create an RSpec test suite so that we can unit test the API? |
On 3 Nov 2011, at 13:15, Robert Wahler wrote:
yes, exactly. The features are more like usage examples, which is fine as far as it goes but no good for fixing bugs like this. Would you mind? |
I'll do a quick first cut. I've started a new branch 'add_rspec' here: |
What do folks think of this methodology / style for the specs? https://github.com/robertwahler/aruba/tree/add_rspec |
Great! I think I'd have been tempted just to include Aruba::API directly into the examples, but the way you're doing makes sense too. Did you fix the bug yet? |
I fixed the bug by reverting one of your commits but this causes 4 existing features to fail. https://github.com/robertwahler/aruba/tree/fix_announce_tag
However, the new specs pass :) I think we need to spec out the stop_process functionality but I don't have time right now. |
The new call to stop_processes! in all_stdout and all_stderr is causing output to the console to be called on every step with the @announce tag.
If I run aruba's own feature in 0.4.6:
I get, among the correct output, 5 lines of:
I should see that line only once, or at least that was the 'nicer' behavior in 0.4.5.
Thanks!
-robert
The text was updated successfully, but these errors were encountered: