I'm looking for a way to test my #PHP #Symfony application #BehaviourDriven using #TDD without getting into DI #mocking hell. Currently ~90% of my tests consist of (mockery) mocks and their expectations. Are there ways/approaches to reduce this mocking on unit test level and focus more on the expected behaviour of the functions without having to constantly adapt the mocks during refactorings?
Any ideas/ tools/ articles/ videos/ composer packages?
…but in case any of you want to do something similar, here’s me mocking a WritableStream using a Proxy to provide mock stdout and stderr streams to Console instances to capture the output and save them in my database:
https://codeberg.org/kitten/app/src/branch/logs/src/Logs.js#L47
And here’s the actual monkeypatching code:
https://codeberg.org/kitten/app/src/branch/logs/src/Logs.js#L140
#JKRowling #celebrates #UK #MothersDay by #brutally #mocking #trans #people.
At this point, she seems to be randomly attacking the trans community for #fun.
#Women #Transgender #LGBTQ #LGBTQIA #UK #TERFS #Conservatives #Extremism #Fascism #Hate #Bigotry #Transphobia #TERFIsland
Fetterman mocks Nate Silver over Senate dress code: ‘I dress like you predict’
(IMAGE ID: "#MOCKING OTHER #TRANS #PEOPLE WILL NOT MAKE YOU THE #EXCEPTION TO #CIS #HATRED BUT I HOPE THOSE #BOOTS TASTED GOOD" in red text with a black shadow. the background image is a blurry black and white photo of a man #licking boots. END)
#bootlicker #bootlickersnotwelcome #bootlickers
Unterschied zwischen Testabdeckung und Codeabdeckung?
Die Code
https://www.dev-crowd.com/2022/11/07/unterschied-zwischen-testabdeckung-und-codeabdeckung/
#ExplorativesTesten #LoadandPerformance #Mocking #Penetrationtest #Projektmanagement #RestAPI #TestEngineering #Testautomatisierung #Testframework #Testlink #Testmanagement #Testplan #Testsuites #Tools #Apptesting #Codecoverage #crossbrowsertesting #flakytesting #ManualTesting #Penetrationtesting #pytest #Regressiontesting #testcoverage