Skip to content
edge
4,000 installs on skills.sh

Unit Test Controller Layer

Provides patterns for unit testing REST controllers using MockMvc and @WebMvcTest.

Use in my agent
Use Edge to load the skill unit-test-controller-layer from giuseppe-trisciuoglio/developer-kit for my task. If Edge is not set up, read getedge.cc/SKILL.md and ask me first.
giuseppe-trisciuoglio/developer-kit
Security state: reviewed

2 static scans, 0 counted findings.

Edge checks it again each time your agent loads it.

SKILL.md4 files · 18.2 KB

From the giuseppe-trisciuoglio public repository. Edge did not write or edit this skill.

What it does

  • Provides patterns for unit testing REST controllers using MockMvc and @WebMvcTest.
  • Generates controller tests that validates request/response mapping, validation, exception handling, and HTTP status codes.
  • Use when testing web layer endpoints in isolation for API endpoint testing, Spring MVC tests, mock HTTP requests, or controller layer unit tests.
GT

Why Giuseppe Trisciuoglio

Software and AWS architect. Each fact links its public source.

  • 20+ years in banking and insurance systems

    He has designed software for over 20 years in banking, insurance and regulated industries.

    GitHub profile
  • Former CTO of Adrias Online

    He served as CTO of Adrias Online and has worked in IT since 2003.

    alexpagnoni.com, Sep 2021
  • 300+ GitHub stars on developer-kit

    His developer-kit plugin bundles spec-driven skills for Java, TypeScript, Python, PHP and AWS.

    GitHub

Public sources, checked Oct 26, 2026.

How it works

  1. 1
    Copy

    Try for free gives you one prompt.

  2. 2
    Paste

    Paste it into Claude Code, Codex or Cursor.

  3. 3
    Ask

    Ask for the outcome. Your agent loads Unit Test Controller Layer.

Related skills

GT
Unit Test Exception Handler
giuseppe-trisciuoglio

Provides patterns for unit testing `@ExceptionHandler` and `@ControllerAdvice` in Spring Boot applications. Validates error response formatting, mocks exceptions, verifies HTTP status codes, tests field-level validation

GT
Unit Test Service Layer
giuseppe-trisciuoglio

Provides patterns for unit testing service layer with Mockito. Creates isolated tests that mock repository calls, verify method invocations, test exception scenarios, and stub external API responses. Use when testing ser

JA
321 Frameworks Spring Boot Testing Unit Tests
jabrena

Use when you need to write unit tests for Spring Boot applications — including pure unit tests with @ExtendWith(MockitoExtension.class) for @Service/@Component, slice tests with @WebMvcTest and @MockitoBean for controlle

PA
Unit Test Generator
patricio0312rev

Generates comprehensive unit tests with AAA pattern (Arrange-Act-Assert), edge cases, error scenarios, and coverage analysis. Creates test files matching source structure with complete test suites. Use for "unit testing"

JA
302 Frameworks Spring Boot REST
jabrena

Use when you need to design, review, or improve REST APIs with Spring Boot — including HTTP methods, resource URIs, status codes, DTOs, versioning, deprecation and sunset headers, content negotiation (JSON and vendor med

CU
Vitest Testing Patterns
curiositech

Write tests using Vitest and React Testing Library. Use when creating unit tests, component tests, integration tests, or mocking dependencies. Activates for test file creation, mock patterns, coverage, and testing best p

Questions about Unit Test Controller Layer

What does Unit Test Controller Layer do?

Provides patterns for unit testing REST controllers using MockMvc and @WebMvcTest. Published by Giuseppe Trisciuoglio (giuseppe-trisciuoglio/developer-kit).

Is Unit Test Controller Layer safe to use?

Edge security state: Reviewed (2 Edge-run static scans, scanned Nov 17, 2026). The Evidence tab shows the scan.

How do I use Unit Test Controller Layer in Claude Code, Codex or Cursor?

Click Try for free, pick your agent and follow its one step. Edge is free, with no Edge account.

Give your agent Unit Test Controller Layer.

Free. No Edge account.

Use Unit Test Controller Layer in your agent

Claude app

Add to Claude

Opens claude.ai in your browser. Add it once, and Edge is in the Claude desktop and phone apps too.
Then click Continue Add Connect and open a new chat.

Already added? Open a new chat in Claude.

ChatGPT

Add to ChatGPT

Opens the Edge plugin in ChatGPT. Click Install plugin, then start a new chat.

Claude Code or Codex

Free · No Edge accountOther agents