Ich kann jetzt sagen, ich bin mit einem publizierten* Autor** verheiratet.
* bei heise.de
** von genau einem Fachartikel
Ich kann jetzt sagen, ich bin mit einem publizierten* Autor** verheiratet.
* bei heise.de
** von genau einem Fachartikel
Самый лучший мок на свете: разбираемся с инструментами для генерации моков в Go
Всем привет! Меня зовут Семён Эйгин, я бэкендер в Авито , люблю опенсорс и периодически что-то туда контрибьючу. В этой статье разбираемся с моками и выбираем самый удобный инструмент (не обязательно лучший!). Это достаточно холиварная тема, хотя при подготовки статьи я не ожидал, что она окажется настолько спорной — у каждого разработчика своё мнение на этот счёт. Чтобы узнать моё и высказать своё — переходите под кат!
https://habr.com/ru/companies/avito/articles/939388/
#go #minimock #mocks #testing #golang #unittesting #авито #avito
Little blow to Dems: Gavin Newsom Bandage Pic Mocks Trump Attack, Dishonor Heroes star-news.press/wp
,Little blow to Dems: Gavin Newsom Bandage Pic Mocks Trump Attack, Dishonor Heroes star-news.press/wp, 2025-08-20 14:35:00 #blow #Dems #Gavin #Newsom #Bandage #Pic #Mocks #Trump #Attack #Dishonor #Heroes
#TheMetalDogArticleList
#Blabbermouth
Watch: DAVID LEE ROTH Mocks SAMMY HAGAR Over EDDIE VAN HALEN 'Ghost' Claim
#DAVIDLEEROTH #SAMMYHAGAR #Watch #Mocks #Blabbermouth #metal #music
Scaling the #Testing Pyramid in #TypeScript starts soon at #KCDC. We'll learn about #mocks, #UnitTests, #ComponentTests, #Cypress, and much more. https://www.kcdc.info/ Slides: https://robrich.org/slides/web-test-all-the-things/, Code: https://github.com/robrich/web-test-all-the-things
Frontend и OpenAPI: генерация клиента, мокирование API и данных с помощью MSW
Генерация кода по спецификации OpenAPI и мокирование запросов - эффективный способ автоматизировать процессы разработки и решить некоторые специфические задачи. В статье описано применение различных инструментов, которые могут быть использованы при генерации и мокировании.
Тестируемый код в Golang
Когда я вижу очередную статью или видеоурок про тестирование кода, я почти уверен, что мне опять расскажут про моки. Создаётся впечатление, что это самый лучший и правильный способ писать тесты, и вообще, невозможно обойтись без моков. Это не так! Можно писать тестируемый код без моков. Более того, использование моков следует избегать и использовать их только в специфичных случаях.
I spent _WAAAAAYYYYYYY_ too long trying to write a test for a function that probably didn't even need to be tested in the first place and probably the test provides ~0 value but I did it you guys! I got it working!
Also I published v0.2.0 of clockabilly, which is my Rust library that lets you mock out time and sleeping and stuff -- now you can (pretend to) sleep and then execute a callback when you (pretend to) wake up.
Testing Without Mocks: A Pattern Language (2023)
https://www.jamesshore.com/v2/projects/nullables/testing-without-mocks
#HackerNews #Testing #Without #Mocks #Pattern #Language #Programming #Testing #Strategies
Backend-for-Frontend (BFF): решение проблемы взаимодействия фронтенда и бэкенда
В современной разработке веб-приложений одной из ключевых проблем является несовместимость между фронтендом и бэкендом. Фронтенд-команды часто вынуждены ждать, пока бэкенд предоставит необходимые API, а бэкенд-разработчики тратят время на адаптацию логики под изменения в интерфейсе. Это приводит к задержкам в разработке, сложностям в тестировании и постоянным несоответствиям в данных. Что такое Backend-for-Frontend (BFF)? Backend-for-Frontend (BFF) — это архитектурный паттерн, который помогает устранить разрыв между фронтендом и бэкендом. BFF выступает промежуточным слоем, который адаптирует данные и логику бэкенда под нужды конкретного фронтенда. Это позволяет фронтенд-командам работать с API сразу, а бэкенд-разработчикам подключать логику по мере готовности, что значительно ускоряет процесс разработки и снижает количество доработок.
https://habr.com/ru/articles/880964/
#frontendразработка #backendразработка #javascript #expressjs #node #bff #mocks #api
Key Quote 1: "But these girls aren't cheap labour - They're people." Sheila Birling, An Inspector Calls, Act One.
Key Quote 2: "Birling: (cutting in) 'Just a minute, Sheila. Now, Inspector, perhaps you and I had better go and talk this over quietly in a corner--' Sheila: (cutting Why should you? He's finished with you. He says it's one of us now."
#GCSEEnglish #english #englishrevison #keyquotes #mocks #mockexams2025 #aninspectorcalls #sheilabirling #inspectorgoole #arthurbirling #jbpriestly
Key Quote 1: "Nothing beside remains. Round the decay of that colossal wreck, boundless and bare the lone and level sands stretch far away." Ozymandis, Percy Bysshe Shelley.
Key Quote 2: : "I wander thro'. Each charter'd street. Near where the charter'd Thames does flow." London, William Blake.
#GCSEEnglish #english #englishrevison #keyquotes #mocks #mockexams2025 #powerandconflict #powerandconflictpoetry #poetry #ozymandis #london #percybyssheshelley #williamblake #williamblakepoetry
"Sir, 'twas not her husband's presence only, called that spot of joy into the duchess' cheek;"
Compare the way the poet presents memory in 'My Last Duchess' and in one other poem from Power and Conflict. What is the power in this poem? What is the conflict?
#powerandconflict #powerandconflictpoetry #mylastduchess #robertbrowning #mocks #gcseenglish
"When you're married, you'll realize that men with important work to do sometimes have to spend nearly all their time and energy on their business," Mrs Birling to Sheila Act One.
What are the themes in this quote? How do you think Mrs Birling feels at this time? Whose involved? Are there any dramatic techniques used?
#aninspectorcalls #aninspectorcallsquotations #keyquotes #what #who #how #gcseenglis #mockexams2025 #mocks #themes
Mrs Mewis begins the countdown to our February mock exams which are only 5 weeks away and shares an overview of revision tips, some key dates for your diary, session 5 Timetable and revision materials that will be provided by Heads of Faculty over the upcoming weeks.
#mockexams2025 #gcses2025 #gcsesuccess #mockexampreparation #youcandothis #weareproudofyou #LearnTodayLeadTomorrow #revisiontips #mocks
#year2025
@fazzaro Really nice article, thanks for sharing it!
It has been a few years now since I began to think that dynamic #mocks really get in the way of #refactoring by really coupling the tests with the implementation.
I like how the author points out how they are breaking encapsulation and the solution he offers to address the problem.
I'm a bit skeptical about the scalability of that solution though, and that's the reason I still use mocking frameworks, but try to rely on them the least I can. But hey, I'll try his approach on a small project soon, and see what comes out of it!
"You need tests that don't break when you refactor. When you use dynamic mocks, tests tend to fail whenever you make changes in SUTs. Even though you have tests, they don't enable refactoring."
#softwareengineering #softwarearchitecture #tdd #unittests #mocks #testdoubles
https://blog.ploeh.dk/2022/10/17/stubs-and-mocks-break-encapsulation/
Endlich habe ich gelernt, wie bei #Nextcloud #Apps die #Unit #Tests geschrieben werden. Ich verstehe jetzt die Arbeit mit #Mocks.
https://github.com/nextcloud/forms/pull/1690
dieser Absatz hat mir u.a. geholfen:
https://martinfowler.com/articles/mocksArentStubs.html#TestsWithMockObjects