Addon Studio Testing

0•

Automates the creation and maintenance of JUnit 5 and Mockito 4.x backend tests for Sankhya Addon Studio 2.0 projects.

This skill provides a specialized framework for developing backend automated tests within the Sankhya Addon Studio 2.0 ecosystem. It addresses specific domain challenges such as Java 8 compatibility, static mocking of the JAPE SDK (including JapeRepository and JapeSession), and complex Gradle configurations. By enforcing the AAA (Arrange-Act-Assert) pattern and providing robust templates, it helps developers increase coverage for services, controllers, and repositories while avoiding common pitfalls like encoding issues and Lombok-related stubbing conflicts.

主な機能

01Pre-configured Gradle templates with mocha-style visual test logging
020 GitHub stars
03JUnit 5 and Mockito 4.11 integration optimized for Java 8 compatibility
04Static mocking patterns for JapeSession and JapeRepository using mockito-inline
05Standardized templates for testing controllers, services, and mappers
06Best practices for handling JAPE SDK checked exceptions and ASCII encoding safety

ユースケース

01Setting up a standardized testing infrastructure for new Addon Studio modules
02Increasing unit test coverage for new or existing Sankhya backend services
03Diagnosing and fixing flaky or failing tests in Addon Studio environments