#mocks

2025-09-07

Ich kann jetzt sagen, ich bin mit einem publizierten* Autor** verheiratet.

heise.de/hintergrund/Flexibel-

* bei heise.de
** von genau einem Fachartikel

ABDELAZIZstarnews
2025-08-26

“It’s the trap”: Trump Mocks Chuck Schumer, to crush Earth Policies star-news.press/wp

,"It's the trap": Trump Mocks Chuck Schumer, to crush Earth Policies star-news.press/wp, 2025-08-26 18:32:00

star-news.press/its-trap-trump

2025-08-22

Самый лучший мок на свете: разбираемся с инструментами для генерации моков в Go

Всем привет! Меня зовут Семён Эйгин, я бэкендер в Авито , люблю опенсорс и периодически что-то туда контрибьючу. В этой статье разбираемся с моками и выбираем самый удобный инструмент (не обязательно лучший!). Это достаточно холиварная тема, хотя при подготовки статьи я не ожидал, что она окажется настолько спорной — у каждого разработчика своё мнение на этот счёт. Чтобы узнать моё и высказать своё — переходите под кат!

habr.com/ru/companies/avito/ar

#go #minimock #mocks #testing #golang #unittesting #авито #avito

ABDELAZIZstarnews
2025-08-20

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

star-news.press/gavin-newsom-b

2025-07-16

Frontend и OpenAPI: генерация клиента, мокирование API и данных с помощью MSW

Генерация кода по спецификации OpenAPI и мокирование запросов - эффективный способ автоматизировать процессы разработки и решить некоторые специфические задачи. В статье описано применение различных инструментов, которые могут быть использованы при генерации и мокировании.

habr.com/ru/companies/nauka/ar

#openapi #msw #mocks #typescript

Greek Hubgreekhub
2025-07-09
2025-06-24

Тестируемый код в Golang

Когда я вижу очередную статью или видеоурок про тестирование кода, я почти уверен, что мне опять расскажут про моки. Создаётся впечатление, что это самый лучший и правильный способ писать тесты, и вообще, невозможно обойтись без моков. Это не так! Можно писать тестируемый код без моков. Более того, использование моков следует избегать и использовать их только в специфичных случаях.

habr.com/ru/companies/skbkontu

#go #golang #mocks #mocking #mock #тестирование #тесты #tdd

2025-05-07

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.

github.com/acrlabs/clockabilly

#rust #rustlang #tests #mocks

2025-02-10

Backend-for-Frontend (BFF): решение проблемы взаимодействия фронтенда и бэкенда

В современной разработке веб-приложений одной из ключевых проблем является несовместимость между фронтендом и бэкендом. Фронтенд-команды часто вынуждены ждать, пока бэкенд предоставит необходимые API, а бэкенд-разработчики тратят время на адаптацию логики под изменения в интерфейсе. Это приводит к задержкам в разработке, сложностям в тестировании и постоянным несоответствиям в данных. Что такое Backend-for-Frontend (BFF)? Backend-for-Frontend (BFF) — это архитектурный паттерн, который помогает устранить разрыв между фронтендом и бэкендом. BFF выступает промежуточным слоем, который адаптирует данные и логику бэкенда под нужды конкретного фронтенда. Это позволяет фронтенд-командам работать с API сразу, а бэкенд-разработчикам подключать логику по мере готовности, что значительно ускоряет процесс разработки и снижает количество доработок.

habr.com/ru/articles/880964/

#frontendразработка #backendразработка #javascript #expressjs #node #bff #mocks #api

Oldbury AcademyOldburyAcademy
2025-02-04

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."

Oldbury AcademyOldburyAcademy
2025-02-04

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.

Oldbury AcademyOldburyAcademy
2025-01-23

"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?

Oldbury AcademyOldburyAcademy
2025-01-23

"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?

Oldbury AcademyOldburyAcademy
2025-01-23

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.


François Dupiredupirefr@techhub.social
2025-01-13

@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!

2025-01-13

"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

blog.ploeh.dk/2022/10/17/stubs

Timotheus Pokorratpokorra@hostsharing.coop
2025-01-04

Endlich habe ich gelernt, wie bei #Nextcloud #Apps die #Unit #Tests geschrieben werden. Ich verstehe jetzt die Arbeit mit #Mocks.
github.com/nextcloud/forms/pul
dieser Absatz hat mir u.a. geholfen:
martinfowler.com/articles/mock

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst