tag

testing

321 indexed skills · max 10 per page

skills (321)

webapp-testing

sickn33/antigravity-awesome-skills · Testing

0

Web application testing and automation using Playwright with managed server lifecycle. \n \n Includes with_server.py helper script to automatically start and manage single or multiple local servers (backend, frontend, etc.) before running automation scripts \n Provides a reconnaissance-then-action pattern: navigate, wait for network idle, take screenshots, inspect DOM, identify selectors, then execute actions \n Supports both static HTML (file:// URLs) and dynamic webapps; includes example scrip

sf-testing

jaganpro/sf-skills · Testing

0

Use this skill when the user needs Apex test execution and failure analysis: running tests, checking coverage, interpreting failures, improving coverage, and managing a disciplined test-fix loop for Salesforce code.

unit-test-scheduled-async

giuseppe-trisciuoglio/developer-kit · Testing

0

Test @Scheduled and @Async methods directly without waiting for actual execution. \n \n Call async and scheduled methods directly in tests instead of relying on Spring's async executor or scheduling intervals \n Use CompletableFuture.get() with explicit timeouts to wait for async results, and Awaitility.await() for polling-based assertions on state changes \n Mock dependencies that async methods call, then verify interactions after completion using Mockito \n Test exception handling by catching

langchain4j-testing-strategies

giuseppe-trisciuoglio/developer-kit · AI/ML

0

Comprehensive testing strategies for LangChain4j applications with mocks, containers, and RAG validation. \n \n Provides unit testing patterns with mock models, integration testing via Testcontainers, and end-to-end workflows for RAG systems, AI Services, and tool execution \n Covers testing pyramid approach: 70% unit tests with mocks, 20% integration tests with real services, 10% end-to-end tests \n Includes specialized patterns for streaming responses, memory management, guardrail assertions,

unit-test-mapper-converter

giuseppe-trisciuoglio/developer-kit · Testing

0

Unit testing patterns for MapStruct mappers and custom converters with comprehensive transformation validation. \n \n Covers field mapping accuracy, null handling, type conversions, nested objects, bidirectional mapping, enum mapping, and partial updates \n Includes Maven and Gradle setup with MapStruct, JUnit 5, and AssertJ dependencies \n Provides patterns for testing simple mappings, nested hierarchies, custom @Mapping annotations, enum @ValueMapping , and @MappingTarget partial updates \n De

unit-test-security-authorization

giuseppe-trisciuoglio/developer-kit · Testing

0

Unit testing patterns for Spring Security authorization annotations and role-based access control. \n \n Covers @PreAuthorize , @Secured , and @RolesAllowed method-level security with @WithMockUser test fixtures \n Includes role-based access control (RBAC), expression-based authorization, and custom PermissionEvaluator testing \n Provides MockMvc patterns for testing secured REST endpoints and parameterized role testing strategies \n Demonstrates both allow and deny scenarios, owner-based access

unit-test-parameterized

giuseppe-trisciuoglio/developer-kit · Testing

0

JUnit 5 parameterized testing patterns for running single test methods with multiple input combinations. \n \n Supports multiple data sources: @ValueSource for simple values, @CsvSource for tabular data, @MethodSource for complex objects, @EnumSource for enum testing, and custom ArgumentsProvider implementations \n Includes boundary value testing, edge case coverage, and systematic validation of multiple scenarios with reduced test duplication \n Offers custom display names for readable test out

unit-test-config-properties

giuseppe-trisciuoglio/developer-kit · Testing

0

Test Spring @ConfigurationProperties bindings, validation, and type conversions without full context startup. \n \n Use ApplicationContextRunner to test property binding in isolation, covering simple properties, nested structures, collections, and type conversions \n Verify validation constraints with @Validated annotations, ensuring invalid values fail appropriately and valid configurations pass \n Test default values, profile-specific configurations, and property name mapping (kebab-case to ca

unit-test-controller-layer

giuseppe-trisciuoglio/developer-kit · Testing

0

Unit testing REST controllers in isolation with MockMvc and mocked service dependencies. \n \n Covers testing all HTTP methods (GET, POST, PUT, PATCH, DELETE) with status code and response body validation using JsonPath assertions \n Includes patterns for request parameter binding, validation errors, exception handling, and content negotiation across different Accept and Content-Type headers \n Uses standalone MockMvc setup with Mockito to mock service layer dependencies, keeping tests focused o

unit-test-exception-handler

giuseppe-trisciuoglio/developer-kit · Testing

0

Unit testing patterns for Spring @ExceptionHandler and @ControllerAdvice global exception handlers. \n \n Test exception-to-error-response transformations and HTTP status codes using MockMvc with setControllerAdvice() to register handlers \n Verify error response structure includes required fields (timestamp, status, error, message) and test field-level validation errors from MethodArgumentNotValidException \n Cover multiple exception types with appropriate status codes (404, 409, 401, 403, 500)

prevpage 21 / 33next