Skip to content
U

unit-test-service-layer

Provides patterns for unit testing service layer with Mockito

by giuseppe-trisciuoglioFree

#7357in AI Skills
0In stores

Description

unit-test-service-layer is an agent skill from the developer-kit collection for unit testing @Service classes in Java with Mockito. It shows…

Highlights

  • Mockito tests for @Service classes
  • Mocked repository and external client calls
  • Verifies method invocations
  • Exception and edge case tests
  • No Spring container or database needed

Ratings & Reviews

No ratings yet

Be the first to rate unit-test-service-layer.

People also visit

U

unit-test-controller-layer

Provides patterns for unit testing REST controllers

AI Skills
Get
D

dart-generate-test-mocks

Define and generate mock objects for external dependencies

AI Skills
Get
U

unit-test-scheduled-async

Provides patterns for unit testing Spring `@Scheduled`

AI Skills
Get
U

unit-test-exception-handler

Provides patterns for unit testing `@ExceptionHandler`

AI Skills
Get
T

test-master

Generates test files, creates mocking strategies, analyzes code coverage

AI Skills
Get
U

unit-test-wiremock-rest-api

Provides patterns for unit testing external REST APIs using WireMock

AI Skills
Get

unit-test-service-layer FAQ

What does the unit-test-service-layer skill do?

It guides an agent in writing isolated Mockito tests for Java service classes, with mocked repositories and external clients.

Does it need a database?

No. The page says the tests run without a Spring container or a database, and without real API calls.

How do I install it?

Run: npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-service-layer

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best unit-test-service-layer alternatives?

Popular alternatives to unit-test-service-layer include unit-test-controller-layer, dart-generate-test-mocks and unit-test-scheduled-async. See all unit-test-service-layer alternatives

Developer Stuff

Badges