About 1,060,172 results (1,660 milliseconds)

proposal: don't warn on uninteresting calls

https://groups.google.com/g/googlemock/c/FGLl-zoW5E0
You can imagine how happy he/she will be. In my experience, this is among the top of the gripes people have about Google Mock, and it's understandably so. We ...

Should we officially deprecate GMock?

https://groups.google.com/a/chromium.org/g/chromium-dev/c/-KH_IP0rIWQ
Even worse, because it is easy to add behavior into a Gmock object, I've seen people script a mock with a long sequence of calls/results. The test now has moved ...

Using NiceMock?

https://groups.google.com/a/chromium.org/g/chromium-dev/c/1zktlTqFb6o
There seem to be a bunch of tests that use mocks, but have unexpected uninteresting calls. I'd prefer people used NiceMock<> for these, because the (irrelevant) ...

mocks expecting no calls

https://groups.google.com/g/cpputest/c/hiTFFSPORq4
I'm looking for a clean way to set up a test which will fail only if a specific mock function is called. I don't really care what other functions get called.

Qt signal slots and gmock

https://groups.google.com/g/googlemock/c/RTgynKPa6ew
- You shouldn't be explicitly calling gmock functions like gmock_rxsignal(). ... > - Is the rxsignal() method you're mocking virtual? > > Perhaps someone ...

Using Moq to Mock void methods

https://groups.google.com/g/moqdisc/c/7qNM5IgnObE
Feb 3, 2011 ... SubmitChanges is called. Then your code under test is Foo.Save(IContext context). and your dependency is IContext. You can mock your ...

When people mock my mask wearing : r/AdviceAnimals

http://feedproxy.google.com/~r/reddit/itKW/~3/zqdVwEDlF0w/
May 10, 2020 ... Their liberty is almost always at someone else's expense or someone else's risk. They ... called me as angry as I've ever heard him. It ...

The future of Isolation frameworks, and how Moq isn't it (for now ...

https://feedproxy.google.com/~r/Iserializable/~3/lmzOswtHnss/the-future-of-isolation-frameworks-and-how-moq-isnt-it-for-n.html
Jun 27, 2012 ... The future is loose, not strict mocks. Loose mocks don't care how many times something was called. so if you say that method stub returns 3, it ...

Clean Coder - Mocking Mocking and Testing Outcomes

https://sites.google.com/site/unclebobconsultingllc/uncle-bob-consulting-llc/articles/mocking-mocking-and-testing-outcomes
Jan 23, 2010 ... ... I call The Mount Everest Syndrome: “I use it because it's there. ... ” The more mocking frameworks that appear, the more I see them ...

Newbie questions

https://groups.google.com/g/jooq-user/c/OBNM4Wle_N8
I just ran across jOOQ after searching for ways to mock JDBC access. Specifically, I am trying to test cross-database support for calling stored procedures.

Mock Objects and Test Design/Clean Tests

https://groups.google.com/g/software_craftsmanship/c/04LHBxg9hv8/m/TpAIKfS3oBQJ
"Now there is this thing called mockist versus stateist. If you ever heard this discussion before, about people who use mock objects versus people who dislike ...

feature request - mockito stubs to return "intelligent" null to avoid NPEs

https://groups.google.com/g/mockito/c/efQb_um8WeY
earlier test might fail with a NPE. What happens is I refactor the constructor MyFarm() to MyFarm(Cowshed cowshed), passing in a mock for cowshed. Then myFarm ...

Re: [mockito] Odd Injection Behaviour

https://groups.google.com/g/mockito/c/tQFB9PqVUL8/m/iK21GWMsosIJ
> explain to see if anyone can see a rookie mistake. > > I was using ... (which is what you have done my calling mock(ClassToBeInjected.class). Your ...

Sinon.JS - Google Groups

https://groups.google.com/g/sinonjs
Hi all, I am hoping someone will be able to help me out with a small issue. I am trying to stub out. unread,. Stubbing/Mocking undefined properties.

Test Doubles: My current approach | Mark Needham

http://feedproxy.google.com/~r/MarkNeedham/~3/_wS2n3gzmDM/
Jul 14, 2009 ... ... we don't want to verify those outputs. Most of the time I make use of the mocking library's ability to stub out method calls on these

AtMost obsolete in v4

https://groups.google.com/g/moqdisc/c/guID_kMNsbI
I'm using Moq v4. I have a strict Mock, with a few setup methods that should be called only once. At the end I do a VerifyAll(). Mock<IFoo> fooMock = new ...

Default Return Values

https://groups.google.com/g/mockito/c/zWGno0pRqks
Mar 6, 2008 ... If you call a method returning an int or boolean ... Can you show us a *real* example where you find returning mock instead of null useful?

Clean Coder - Manual Mocking - Resisting the Invasion of Dots and ...

https://sites.google.com/site/unclebobconsultingllc/uncle-bob-consulting-llc/articles/manual-mocking-resisting-the-invasion-of-dots-and-parenthesis
Oct 28, 2009 ... As you point out, Uncle Bob, the example is a stub, not a mock. Mock frameworks exist to generate mocks, not stubs, but people use them for ...

Mockito.atLeast(0), want 0 to many times

https://groups.google.com/g/mockito/c/gApNski7p0A
to mockito. So I'm trying to verify that a method is called 0 to many times. Here is what I've tried so far:

When did Cruelty become entertainment? | The Gazette

https://news.google.com/__i/rss/rd/articles/CBMiUmh0dHBzOi8vd3d3LnRoZWdhemV0dGUuY29tL2d1ZXN0LWNvbHVtbmlzdHMvd2hlbi1kaWQtY3J1ZWx0eS1iZWNvbWUtZW50ZXJ0YWlubWVudC_SAQA?oc=5
Nov 13, 2022 ... There has always been what we called the “bully.” The person who makes fun of someone who had a difficult time defending themselves. But ...