-
Notifications
You must be signed in to change notification settings - Fork 19
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
Hiding Messages #74
Comments
You can control how many times you expect a call to happen including 'any number of times', see http://turtle.sourceforge.net/turtle/reference.html#turtle.reference.expectation.invocation |
I meant more along the lines of hiding them all together, at least in the scenario of executing a thread where we don't know when the thread will exit (it exists in a while loop). for right now I've set the tests into individual test cases, each one covering a scenario, but I would like to point out that the file on our test system has a maximum file writing size of 100 KB, practically all of which is used to display the "expectation fullfilled" messages that turtle and boost output. |
Hello,
When using turtle, I'm aware of the expectation fulfilled and unexpected call messages are designed to let you know if you miss a mocked class function call, but is there a way to suppress those calls when you don't know how many times the function is going to be called? in one of our classes, we have a function being called in a thread, however I'd rather not see "expectation fulfilled" 500+ times to either the console or the text file we are writing to. any advice on how to suppress them, or was the library not designed to work that way?
The text was updated successfully, but these errors were encountered: