lpn CLI Tester

Automate testing of the lpn CLI tool for Liferay Portal Docker images.

21|4|Updated Feb 14, 2018
One-click install
npx skills add https://github.com/mdelapenya/lpn --skill lpn-cli-tester
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lpn CLI Tester
Source: https://github.com/mdelapenya/lpn/tree/main/.claude/skills/cli-tester
Command: npx skills add https://github.com/mdelapenya/lpn --skill lpn-cli-tester

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the testing of the Liferay Portal Nook (lpn) CLI tool, ensuring its commands function correctly and its behavior is predictable.

Core Features & Use Cases

  • Comprehensive Command Testing: Exercises all lpn CLI commands and their subcommands, including run, stop, start, pull, deploy, checkc, checki, tags, version, license, completion, prune, rm, rmi, update, and log.
  • Lifecycle Validation: Tests the full container lifecycle (run, stop, start, remove) and image management (pull, check, remove).
  • Configuration and Flag Testing: Verifies command-line flags, environment variable impact, and default configurations.
  • Error Handling: Assesses how the tool handles invalid inputs, port conflicts, non-existent resources, and network issues.
  • Use Case: A developer can use this Skill to automatically verify that a new build of the lpn CLI tool does not introduce regressions in its core functionality before releasing it.

Quick Start

Run the lpn CLI tester to verify the version and help output for all commands.

Frequently Asked Questions about lpn CLI Tester

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate testing for a Liferay Portal Docker CLI tool?

You can automate Liferay Portal Docker CLI testing by executing a comprehensive suite of commands and scenarios that validate command functionality, container lifecycle management, and image operations. This ensures the lpn CLI tool behaves predictably.

What CLI commands and scenarios are covered by Liferay Portal Nook automation?

Liferay Portal Nook automation covers commands like run, stop, start, pull, deploy, check, tags, version, prune, rm, rmi, update, and log. It validates container lifecycle management, image operations, flag parsing, and error handling.

Do I need Docker installed to test Liferay Portal Nook CLI commands?

Yes, you need Docker installed and running to test Liferay Portal Nook CLI commands. The testing process validates container lifecycle management and image operations across various Liferay Portal Docker image types.

How does CLI testing handle invalid inputs and port conflicts for Liferay Portal?

CLI testing for Liferay Portal assesses error handling by evaluating how the tool manages invalid inputs, port conflicts, non-existent resources, and network issues. This prevents regressions in core functionality before releasing new builds.

Can I verify environment variable impact and default configurations for Liferay CLI?

Yes, you can verify environment variable impact and default configurations for Liferay CLI through configuration and flag testing. This checks command-line flags and default settings to ensure proper functionality across Docker image types.