بازگشت به نتایج جستجو

samber / AGENT SKILL

golang-stretchr-testify

فارسی + English

این اسکیل چه می‌کند؟

راهنمای جامع stretchr/testify برای Go؛ assert، require، mock و suite.

ORIGINAL DESCRIPTION

Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth.

چه زمانی به کار می‌آید؟

برای تست، mock، suite یا انتخاب assert/require؛ assertion، expectation، argument matcher، بررسی call، lifecycle، Eventually، JSONEq و matcher سفارشی؛ هنگام github.com/stretchr/testify.

WHEN TO USE

when writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Covers testify assertions, mock expectations, argument matchers, call verification, suite lifecycle, and advanced patterns like Eventually, JSONEq, and custom matchers. Apply when the codebase imports github.com/stretchr/testify

کاربردهای مرتبط

برچسب‌گذاری خودکار بر اساس نام و توضیح؛ ممکن است نیازمند اصلاح باشد.