StackOverflow Questions for Tag: mocking

Sajjad Ostadebrahim
Sajjad Ostadebrahim

Reputation: 93

How to setup a mockEnvironment in @telegram-apps/sdk version 3?

Score: 0

Views: 55

Answers: 1

Read More
Andrew Ebling
Andrew Ebling

Reputation: 10283

Mock UNNotificationResponse & UNNotification (and other iOS platform classes with init() marked as unavailable)

Score: 12

Views: 4152

Answers: 7

Read More
cell-in
cell-in

Reputation: 799

How to mock mongodb when it is called from another function?

Score: 6

Views: 6602

Answers: 3

Read More
Mike G
Mike G

Reputation: 1994

Mocking a service/object without having to recreate the whole dependency tree

Score: 0

Views: 44

Answers: 0

Read More
anini
anini

Reputation: 9

How to mock a shell script execution for testing?

Score: 0

Views: 102

Answers: 3

Read More
TheMayerof
TheMayerof

Reputation: 193

Ruby and Rspec mocking a hash

Score: 0

Views: 1907

Answers: 1

Read More
Jonathan Tuzman
Jonathan Tuzman

Reputation: 13289

Testing gets in rspec (user input)

Score: 0

Views: 1268

Answers: 1

Read More
Addi O
Addi O

Reputation: 21

Can you use pytest.fixture and unittest.mock decorators together?

Score: 1

Views: 18

Answers: 1

Read More
Nati Kamusher
Nati Kamusher

Reputation: 771

Dynamic Mock Data with MSW and Playwright: Synchronizing Across Threads

Score: 0

Views: 283

Answers: 1

Read More
user2312807
user2312807

Reputation: 21

Is there any tool that automates stubbing mock object responses? (using jmock, mockito or easy mock)

Score: 1

Views: 926

Answers: 3

Read More
Mr.J
Mr.J

Reputation: 1

How can I create a simulated integration test, without requesting the API?

Score: 0

Views: 31

Answers: 1

Read More
hrushi
hrushi

Reputation: 296

How to spy on a virtual method called from ctor

Score: 0

Views: 38

Answers: 0

Read More
Royal Rose
Royal Rose

Reputation: 2751

Unfinished Stubbing Detected in Mockito

Score: 264

Views: 290594

Answers: 9

Read More
uday8486
uday8486

Reputation: 1393

Working with python unit tests, tring to patch a class but is not working

Score: 0

Views: 20

Answers: 1

Read More
Vivian
Vivian

Reputation: 21

c cpputest pointer mock segfault

Score: 0

Views: 41

Answers: 1

Read More
Moha
Moha

Reputation: 885

How to mock useDispatch and useSelector when testing?

Score: -1

Views: 40

Answers: 0

Read More
Kurtis
Kurtis

Reputation: 37

Cannot get Pester Test to use Mock for "New-Object OfficeOpenXml.ExcelPackage"

Score: 1

Views: 17

Answers: 1

Read More
wavesinaroom
wavesinaroom

Reputation: 191

Can't assert folder creation path with unittest patch

Score: 0

Views: 26

Answers: 1

Read More
R T
R T

Reputation: 11

How to understand mock patching as it relates to import structures and what are alternatives?

Score: 0

Views: 24

Answers: 0

Read More
Kristi Jorgji
Kristi Jorgji

Reputation: 1739

How to unit test and mock in typescript WebSocket from ws library?

Score: 1

Views: 34

Answers: 2

Read More
PreviousPage 2Next