#DEVCommunity on Nostr: Sometimes you need to know how many times a method has been called on testing mocks. ...
Published at
2023-08-11 11:10:00Event JSON
{
"id": "414284f5e446b5e9de114e7612d5595cdbf7d10edd545f089e2655d12c961ad6",
"pubkey": "f43c68cae189da544f832143bcc3ae85d122088808957d6cf40034202e0c0227",
"created_at": 1691752200,
"kind": 1,
"tags": [
[
"t",
"devcommunity"
],
[
"proxy",
"https://fosstodon.org/users/thepracticaldev/statuses/110870672237175738",
"activitypub"
]
],
"content": "Sometimes you need to know how many times a method has been called on testing mocks. Here's how to figure it out.\n\n#DEVCommunity\nhttps://dev.to/ant_f_dev/how-to-check-how-many-times-mocked-methods-are-called-in-unit-tests-1oi4",
"sig": "e0509be80f268649cc217d8422515aa18943aa1b84ea45d83a89f272ad260342c0334d42600560656f0565e6b093bad0856d684698f006b61b6bd5144f0a4ef6"
}