本文へ移動
cccskills
無料GitHub で公開

mocks

Start or stop the WireMock API mock server for UI testing and E2E verification.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

WireMock Mock Server

Manage the WireMock mock server that serves API responses for UI tests and E2E verification.

Requires Java (brew install openjdk if missing).

Start

./API-Mocks/scripts/start.sh 8282 &
sleep 3

Verify it's running:

curl -s http://localhost:8282/__admin/ > /dev/null && echo "WireMock running on port 8282" || echo "WireMock failed to start"

If Java is not installed, report the prerequisite and stop.

Stop

./API-Mocks/scripts/stop.sh 8282

Uses WireMock's graceful shutdown endpoint. Falls back to kill-by-port if the shutdown endpoint is unreachable:

kill $(lsof -ti:8282) 2>/dev/null

Details

  • Port: 8282 (default)
  • Mappings: Modules/Sources/APIMocks/Resources/mappings/
  • Response files: Modules/Sources/APIMocks/Resources/__files/
  • Start script: API-Mocks/scripts/start.sh
  • WireMock: auto-downloaded on first run (version configured in start.sh)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Launch the WooCommerce app on a simulator already authenticated into a given store (site credentials, application password, or WPCom), skipping the manual login UI. Meant to be referenced by other skills/workflows that need a logged-in session fast, but also directly runnable.

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-ios3582026年10月10日 更新

bootstrap

無料

Install dependencies and build tools for WooCommerce iOS

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-ios3582026年10月10日 更新

debug

無料

Debug a failing test or build error in WooCommerce iOS

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-ios3582026年10月10日 更新

lint

無料

Run SwiftLint on the WooCommerce iOS project

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-ios3582026年10月10日 更新

pr

無料

Create a pull request following WooCommerce iOS conventions

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-ios3582026年10月10日 更新

review

無料

Review code changes against WooCommerce iOS standards

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-ios3582026年10月10日 更新

woocommerce のスキルをすべて見る

このスキルの問題を報告する