#unittesting — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #unittesting, aggregated by home.social.
-
via @dotnet : Doing More with GitHub Copilot as a .NET Developer
https://ift.tt/uBFCZEb
#dotnet #githubcopilot #copilot #dotnetdev #visualstudio #vscode #clI #cloudcodingagent #agenticworkflows #chatvsagentic #testing #unittesting #linq #dto #minimalapi #aspnetc… -
Celebrating a smoother testing experience for the Go community! 🚀
I’m excited to share that pgxmock v5.1.0 has officially been released!
If you are using pgx for PostgreSQL in Go, this library remains one of the best ways to build robust unit tests without needing a live database.
-
Локальное нагрузочное тестирование в Java с использованием Virtual Threads
Всем привет! Меня зовут Михаил, я работаю главным экспертом в ОТП Банке. Я люблю тестировать свои решения и почти всегда пишу unit- и integration-тесты. Но вот с нагрузочным тестированием ситуация обычно совсем другая: о нем вспоминают ближе к релизу, когда архитектуру уже поздно менять. В какой-то момент я поймал себя на мысли: А как вообще заранее понять, сколько ресурсов будет потреблять сервис под нагрузкой? Сколько памяти съест приложение? Когда упрется в CPU? Как поведет себя БД при разном кол-ве запросов? Чтобы ответить на эти вопросы, я написал небольшую библиотеку для локального нагрузочного тестирования на Java Virtual Threads. Она запускает большое количество задач, собирает метрики и формирует отчет - прямо в консоли или в CSV. Сегодня я покажу сам подход, разберу код библиотеки и оставлю ссылку на GitHub-репозиторий, чтобы вы могли попробовать ее у себя или адаптировать под свои задачи.
https://habr.com/ru/articles/1035238/
#java #virtual_threads #multithreading #виртуальные_потоки #нагрузочное_тестирование #нагрузочное_тестрование #unittesting
-
Локальное нагрузочное тестирование в Java с использованием Virtual Threads
Всем привет! Меня зовут Михаил, я работаю главным экспертом в ОТП Банке. Я люблю тестировать свои решения и почти всегда пишу unit- и integration-тесты. Но вот с нагрузочным тестированием ситуация обычно совсем другая: о нем вспоминают ближе к релизу, когда архитектуру уже поздно менять. В какой-то момент я поймал себя на мысли: А как вообще заранее понять, сколько ресурсов будет потреблять сервис под нагрузкой? Сколько памяти съест приложение? Когда упрется в CPU? Как поведет себя БД при разном кол-ве запросов? Чтобы ответить на эти вопросы, я написал небольшую библиотеку для локального нагрузочного тестирования на Java Virtual Threads. Она запускает большое количество задач, собирает метрики и формирует отчет - прямо в консоли или в CSV. Сегодня я покажу сам подход, разберу код библиотеки и оставлю ссылку на GitHub-репозиторий, чтобы вы могли попробовать ее у себя или адаптировать под свои задачи.
https://habr.com/ru/articles/1035238/
#java #virtual_threads #multithreading #виртуальные_потоки #нагрузочное_тестирование #нагрузочное_тестрование #unittesting
-
Локальное нагрузочное тестирование в Java с использованием Virtual Threads
Всем привет! Меня зовут Михаил, я работаю главным экспертом в ОТП Банке. Я люблю тестировать свои решения и почти всегда пишу unit- и integration-тесты. Но вот с нагрузочным тестированием ситуация обычно совсем другая: о нем вспоминают ближе к релизу, когда архитектуру уже поздно менять. В какой-то момент я поймал себя на мысли: А как вообще заранее понять, сколько ресурсов будет потреблять сервис под нагрузкой? Сколько памяти съест приложение? Когда упрется в CPU? Как поведет себя БД при разном кол-ве запросов? Чтобы ответить на эти вопросы, я написал небольшую библиотеку для локального нагрузочного тестирования на Java Virtual Threads. Она запускает большое количество задач, собирает метрики и формирует отчет - прямо в консоли или в CSV. Сегодня я покажу сам подход, разберу код библиотеки и оставлю ссылку на GitHub-репозиторий, чтобы вы могли попробовать ее у себя или адаптировать под свои задачи.
https://habr.com/ru/articles/1035238/
#java #virtual_threads #multithreading #виртуальные_потоки #нагрузочное_тестирование #нагрузочное_тестрование #unittesting
-
Локальное нагрузочное тестирование в Java с использованием Virtual Threads
Всем привет! Меня зовут Михаил, я работаю главным экспертом в ОТП Банке. Я люблю тестировать свои решения и почти всегда пишу unit- и integration-тесты. Но вот с нагрузочным тестированием ситуация обычно совсем другая: о нем вспоминают ближе к релизу, когда архитектуру уже поздно менять. В какой-то момент я поймал себя на мысли: А как вообще заранее понять, сколько ресурсов будет потреблять сервис под нагрузкой? Сколько памяти съест приложение? Когда упрется в CPU? Как поведет себя БД при разном кол-ве запросов? Чтобы ответить на эти вопросы, я написал небольшую библиотеку для локального нагрузочного тестирования на Java Virtual Threads. Она запускает большое количество задач, собирает метрики и формирует отчет - прямо в консоли или в CSV. Сегодня я покажу сам подход, разберу код библиотеки и оставлю ссылку на GitHub-репозиторий, чтобы вы могли попробовать ее у себя или адаптировать под свои задачи.
https://habr.com/ru/articles/1035238/
#java #virtual_threads #multithreading #виртуальные_потоки #нагрузочное_тестирование #нагрузочное_тестрование #unittesting
-
Currently exploring #QualityAssurance and documenting the process in the open:
https://www.stevefrenzel.dev/posts/quality-assurance-accessibility-and-astro-part-1/
Give it a read if you're curios, a couple more of those are coming in the near future 🤗
#qa #e2e #a11y #accessibility #frontend #WebDev #UnitTesting
-
Currently exploring #QualityAssurance and documenting the process in the open:
https://www.stevefrenzel.dev/posts/quality-assurance-accessibility-and-astro-part-1/
Give it a read if you're curios, a couple more of those are coming in the near future 🤗
#qa #e2e #a11y #accessibility #frontend #WebDev #UnitTesting
-
Currently exploring #QualityAssurance and documenting the process in the open:
https://www.stevefrenzel.dev/posts/quality-assurance-accessibility-and-astro-part-1/
Give it a read if you're curios, a couple more of those are coming in the near future 🤗
#qa #e2e #a11y #accessibility #frontend #WebDev #UnitTesting
-
Currently exploring #QualityAssurance and documenting the process in the open:
https://www.stevefrenzel.dev/posts/quality-assurance-accessibility-and-astro-part-1/
Give it a read if you're curios, a couple more of those are coming in the near future 🤗
#qa #e2e #a11y #accessibility #frontend #WebDev #UnitTesting
-
Currently exploring #QualityAssurance and documenting the process in the open:
https://www.stevefrenzel.dev/posts/quality-assurance-accessibility-and-astro-part-1/
Give it a read if you're curios, a couple more of those are coming in the near future 🤗
#qa #e2e #a11y #accessibility #frontend #WebDev #UnitTesting
-
𝐓𝐨𝐝𝐚𝐲, 𝐀𝐩𝐫𝐢𝐥 27, is the last day to secure your spot at the 𝐞𝐚𝐫𝐥𝐲-𝐛𝐢𝐫𝐝 𝐫𝐚𝐭𝐞 for my workshop 𝐖𝐞𝐥𝐥-𝐁𝐚𝐥𝐚𝐧𝐜𝐞𝐝 𝐓𝐞𝐬𝐭-𝐃𝐫𝐢𝐯𝐞𝐧 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭. Join us on 𝐌𝐚𝐲 21-22, 2026 at 𝐓𝐡𝐞 𝐁𝐫𝐚𝐢𝐧 𝐄𝐦𝐛𝐚𝐬𝐬𝐲 𝐢𝐧 𝐀𝐧𝐭𝐰𝐞𝐫𝐩 .
Don’t miss this final chance to invest in your skills at a reduced price.
🔗 𝐒𝐞𝐜𝐮𝐫𝐞 𝐲𝐨𝐮𝐫 𝐬𝐩𝐨𝐭 𝐧𝐨𝐰.
For more information: https://principal-it.eu/training/well-balanced-test-driven-development.html
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
𝐓𝐨𝐝𝐚𝐲, 𝐀𝐩𝐫𝐢𝐥 27, is the last day to secure your spot at the 𝐞𝐚𝐫𝐥𝐲-𝐛𝐢𝐫𝐝 𝐫𝐚𝐭𝐞 for my workshop 𝐖𝐞𝐥𝐥-𝐁𝐚𝐥𝐚𝐧𝐜𝐞𝐝 𝐓𝐞𝐬𝐭-𝐃𝐫𝐢𝐯𝐞𝐧 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭. Join us on 𝐌𝐚𝐲 21-22, 2026 at 𝐓𝐡𝐞 𝐁𝐫𝐚𝐢𝐧 𝐄𝐦𝐛𝐚𝐬𝐬𝐲 𝐢𝐧 𝐀𝐧𝐭𝐰𝐞𝐫𝐩 .
Don’t miss this final chance to invest in your skills at a reduced price.
🔗 𝐒𝐞𝐜𝐮𝐫𝐞 𝐲𝐨𝐮𝐫 𝐬𝐩𝐨𝐭 𝐧𝐨𝐰.
For more information: https://principal-it.eu/training/well-balanced-test-driven-development.html
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
𝐓𝐨𝐝𝐚𝐲, 𝐀𝐩𝐫𝐢𝐥 27, is the last day to secure your spot at the 𝐞𝐚𝐫𝐥𝐲-𝐛𝐢𝐫𝐝 𝐫𝐚𝐭𝐞 for my workshop 𝐖𝐞𝐥𝐥-𝐁𝐚𝐥𝐚𝐧𝐜𝐞𝐝 𝐓𝐞𝐬𝐭-𝐃𝐫𝐢𝐯𝐞𝐧 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭. Join us on 𝐌𝐚𝐲 21-22, 2026 at 𝐓𝐡𝐞 𝐁𝐫𝐚𝐢𝐧 𝐄𝐦𝐛𝐚𝐬𝐬𝐲 𝐢𝐧 𝐀𝐧𝐭𝐰𝐞𝐫𝐩 .
Don’t miss this final chance to invest in your skills at a reduced price.
🔗 𝐒𝐞𝐜𝐮𝐫𝐞 𝐲𝐨𝐮𝐫 𝐬𝐩𝐨𝐭 𝐧𝐨𝐰.
For more information: https://principal-it.eu/training/well-balanced-test-driven-development.html
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
𝐓𝐨𝐝𝐚𝐲, 𝐀𝐩𝐫𝐢𝐥 27, is the last day to secure your spot at the 𝐞𝐚𝐫𝐥𝐲-𝐛𝐢𝐫𝐝 𝐫𝐚𝐭𝐞 for my workshop 𝐖𝐞𝐥𝐥-𝐁𝐚𝐥𝐚𝐧𝐜𝐞𝐝 𝐓𝐞𝐬𝐭-𝐃𝐫𝐢𝐯𝐞𝐧 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭. Join us on 𝐌𝐚𝐲 21-22, 2026 at 𝐓𝐡𝐞 𝐁𝐫𝐚𝐢𝐧 𝐄𝐦𝐛𝐚𝐬𝐬𝐲 𝐢𝐧 𝐀𝐧𝐭𝐰𝐞𝐫𝐩 .
Don’t miss this final chance to invest in your skills at a reduced price.
🔗 𝐒𝐞𝐜𝐮𝐫𝐞 𝐲𝐨𝐮𝐫 𝐬𝐩𝐨𝐭 𝐧𝐨𝐰.
For more information: https://principal-it.eu/training/well-balanced-test-driven-development.html
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
𝐓𝐨𝐝𝐚𝐲, 𝐀𝐩𝐫𝐢𝐥 27, is the last day to secure your spot at the 𝐞𝐚𝐫𝐥𝐲-𝐛𝐢𝐫𝐝 𝐫𝐚𝐭𝐞 for my workshop 𝐖𝐞𝐥𝐥-𝐁𝐚𝐥𝐚𝐧𝐜𝐞𝐝 𝐓𝐞𝐬𝐭-𝐃𝐫𝐢𝐯𝐞𝐧 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭. Join us on 𝐌𝐚𝐲 21-22, 2026 at 𝐓𝐡𝐞 𝐁𝐫𝐚𝐢𝐧 𝐄𝐦𝐛𝐚𝐬𝐬𝐲 𝐢𝐧 𝐀𝐧𝐭𝐰𝐞𝐫𝐩 .
Don’t miss this final chance to invest in your skills at a reduced price.
🔗 𝐒𝐞𝐜𝐮𝐫𝐞 𝐲𝐨𝐮𝐫 𝐬𝐩𝐨𝐭 𝐧𝐨𝐰.
For more information: https://principal-it.eu/training/well-balanced-test-driven-development.html
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
Knock knock.
Who’s there?
AI.
AI who?
AI think skipping unit tests just got harder to justify.
-
Knock knock.
Who’s there?
AI.
AI who?
AI think skipping unit tests just got harder to justify.
-
Knock knock.
Who’s there?
AI.
AI who?
AI think skipping unit tests just got harder to justify.
-
Knock knock.
Who’s there?
AI.
AI who?
AI think skipping unit tests just got harder to justify.
-
Knock knock.
Who’s there?
AI.
AI who?
AI think skipping unit tests just got harder to justify.
-
Letting the implementation details of the Subject Under Test seep into your test code quickly becomes problematic. It harms readability, forcing readers to decipher the test’s behavior, sometimes even debug it, just to understand what’s happening. Tests should be simple and easy to understand! That’s why it’s crucial to keep the domain knowledge in the production code, and out of your tests.
https://principal-it.eu/2020/09/prevent-domain-knowledge-from-sneaking-into-solitary-tests/
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
Letting the implementation details of the Subject Under Test seep into your test code quickly becomes problematic. It harms readability, forcing readers to decipher the test’s behavior, sometimes even debug it, just to understand what’s happening. Tests should be simple and easy to understand! That’s why it’s crucial to keep the domain knowledge in the production code, and out of your tests.
https://principal-it.eu/2020/09/prevent-domain-knowledge-from-sneaking-into-solitary-tests/
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
Letting the implementation details of the Subject Under Test seep into your test code quickly becomes problematic. It harms readability, forcing readers to decipher the test’s behavior, sometimes even debug it, just to understand what’s happening. Tests should be simple and easy to understand! That’s why it’s crucial to keep the domain knowledge in the production code, and out of your tests.
https://principal-it.eu/2020/09/prevent-domain-knowledge-from-sneaking-into-solitary-tests/
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
Letting the implementation details of the Subject Under Test seep into your test code quickly becomes problematic. It harms readability, forcing readers to decipher the test’s behavior, sometimes even debug it, just to understand what’s happening. Tests should be simple and easy to understand! That’s why it’s crucial to keep the domain knowledge in the production code, and out of your tests.
https://principal-it.eu/2020/09/prevent-domain-knowledge-from-sneaking-into-solitary-tests/
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
-
Letting the implementation details of the Subject Under Test seep into your test code quickly becomes problematic. It harms readability, forcing readers to decipher the test’s behavior, sometimes even debug it, just to understand what’s happening. Tests should be simple and easy to understand! That’s why it’s crucial to keep the domain knowledge in the production code, and out of your tests.
https://principal-it.eu/2020/09/prevent-domain-knowledge-from-sneaking-into-solitary-tests/
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign