Skip to content

Replace SnapCodeJava with SnapCharts in installer tests#441

Merged
shannah merged 3 commits intomasterfrom
claude/test-app-publishing-skill-uf3VO
Mar 14, 2026
Merged

Replace SnapCodeJava with SnapCharts in installer tests#441
shannah merged 3 commits intomasterfrom
claude/test-app-publishing-skill-uf3VO

Conversation

@shannah
Copy link
Copy Markdown
Owner

@shannah shannah commented Mar 13, 2026

Summary

This PR updates the jDeploy installer test suite to use SnapCharts instead of SnapCodeJava as the test application for smoke and installation testing.

Key Changes

  • Test configuration updates: Modified installer/test.sh to run test_snapcharts() instead of test_snapcodejava()
  • Test app replacement: Replaced SnapCodeJava test files with SnapCharts equivalents:
    • Moved .jdeploy-files/ directory from snapcodejava/ to snapcharts/
    • Updated app.xml with SnapCharts metadata (package: "snapcharts", title: "SnapCharts", version: "1.0.5")
    • Updated test.env with SnapCharts project title and Java 11 requirement
  • Documentation updates:
    • Updated test script comments in test_install.sh to reference snapcharts directory
    • Updated mock launcher README to reference snapcharts instead of snapcodejava
    • Removed SnapCodeJava from the community applications list in tests/e2e/apps.conf
  • New skill documentation: Added comprehensive SKILL.md for "Test App Publishing" that documents the full jDeploy publishing workflow, including:
    • Requirements gathering from users
    • Repository setup and version management
    • Sample Java application creation (Swing GUI default)
    • Publishing to npm or GitHub
    • Troubleshooting guide

Implementation Details

  • SnapCharts is configured with Java 11 compatibility, matching the original SnapCodeJava setup
  • The test maintains the same smoke and uninstall test flow as the previous configuration
  • All binary assets (icons, splash screens) are preserved in the new location

https://claude.ai/code/session_017idpZvAQY4Q8fSG7Z27cNX

claude added 3 commits March 13, 2026 22:55
Adds a Claude Code skill that automates testing the full jDeploy
publishing and installation flow using the shannah/jdeploy-test-app
scratch repository. The skill prompts for app requirements and publish
target (npm/GitHub), determines the next version, creates a sample app,
publishes it, and provides download URLs for manual install testing.

https://claude.ai/code/session_017idpZvAQY4Q8fSG7Z27cNX
The snapcodejava npm package no longer exists. Replace all references
with snapcharts, update the app.xml metadata (package name, version,
title), test.env, and icon.png to match the snapcharts package.

https://claude.ai/code/session_017idpZvAQY4Q8fSG7Z27cNX
The skill now asks which jDeploy version to test and uses it consistently:
- GitHub Action reference: shannah/jdeploy@<version> instead of @master
- All CLI commands use npx jdeploy@<version> instead of global install
- npm publishing uses npx jdeploy@<version> publish

https://claude.ai/code/session_017idpZvAQY4Q8fSG7Z27cNX
@shannah shannah merged commit a82277e into master Mar 14, 2026
17 checks passed
@shannah shannah deleted the claude/test-app-publishing-skill-uf3VO branch March 14, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants