Details
Description
Test Methodology
We will test jpackager with a mix of automated jtreg tests, partially automated tests and manual tests. Some of the manual tests could later become automated tests (either jtreg tests or SQE tests). Partially automated tests are jtreg based tests which will require user interaction to install and uninstall generated installers. Installer generation, install and uninstall verification is done automatically by running jtreg tests with special arguments.
Test Inventory (optional)
Automated tests
Common
- JPackagerHelpTest
- JPackagerNoArgTest
- JPackagerInvalidArgTest
- JPackagerMissingArgumentsTest
- JPackagerVersionTest
Create App Image
- JPackageCreateAppImageIconTest
- JPackageCreateAppImageModuleTest
- JPackageCreateAppImageAddLauncherModuleTest
- JPackageCreateAppImageNoNameTest
- JPackageCreateAppImageAddLauncherTest
- JPackageCreateAppImageJavaOptionsModuleTest
- JPackageCreateAppImageAddModulesTest
- JPackageCreateAppImageJavaOptionsTest
- JPackageCreateAppImageRuntimeModuleTest
- JPackageCreateAppImageMainClassAttributeTest
- JPackageCreateAppImageRuntimeTest
- JPackageCreateAppImageArgumentsModuleTest
- JPackageCreateAppImageMainClassErrorTest
- JPackageCreateAppImageTempRootTest
- JPackageCreateAppImageArgumentsTest
- JPackageCreateAppImageModularJarTest
- JPackageCreateAppImageTest
- JPackageCreateAppImageModuleMainClassErrorTest
- JPackageCreateAppImageVerboseTest
- JPackageCreateAppImageErrorTest
- JPackageCreateAppImageModulePathTest
- JPackageCreateAppImageVersionTest
Partially automated tests
MSI Installer
- JPackageCreateInstallerFileAssociationsInstallDirTest
- JPackageCreateInstallerFileAssociationsTest
- JPackageCreateInstallerLicenseTest
- JPackageCreateInstallerTest
- JPackageCreateInstallerWinDirChooserTest
- JPackageCreateInstallerWinMenuGroupTest
- JPackageCreateInstallerWinMenuTest
- JPackageCreateInstallerWinPerUserInstallTest
- JPackageCreateInstallerWinRegistryNameTest
- JPackageCreateInstallerWinShortcutTest
- JPackageCreateInstallerWinUpgradeUUIDTest
EXE Installer
- JPackageCreateInstallerFileAssociationsInstallDirTest
- JPackageCreateInstallerFileAssociationsTest
- JPackageCreateInstallerLicenseTest
- JPackageCreateInstallerTest
- JPackageCreateInstallerWinDirChooserTest
- JPackageCreateInstallerWinMenuGroupTest
- JPackageCreateInstallerWinMenuTest
- JPackageCreateInstallerWinPerUserInstallTest
- JPackageCreateInstallerWinRegistryNameTest
- JPackageCreateInstallerWinShortcutTest
- JPackageCreateInstallerWinUpgradeUUIDTest
DMG Installer
- JPackageCreateInstallerFileAssociationsTest
- JPackageCreateInstallerInstallDirTest
- JPackageCreateInstallerLicenseTest
- JPackageCreateInstallerTest
PKG Installer
- JPackageCreateInstallerFileAssociationsTest
- JPackageCreateInstallerInstallDirTest
- JPackageCreateInstallerLicenseTest
- JPackageCreateInstallerTest
DEB Installer
- JPackageCreateInstallerFileAssociationsTest
- JPackageCreateInstallerInstallDirTest
- JPackageCreateInstallerLicenseTest
- JPackageCreateInstallerTest
- JPackageCreateInstallerBundleNameTest
- JPackageCreateInstallerPackageDepsTest
- JPackageCreateInstallerMaintainerTest
RPM Installer
- JPackageCreateInstallerFileAssociationsTest
- JPackageCreateInstallerInstallDirTest
- JPackageCreateInstallerLicenseTest
- JPackageCreateInstallerTest
- JPackageCreateInstallerBundleNameTest
- JPackageCreateInstallerPackageDepsTest
- JPackageCreateInstallerLicenseTypeTest
Test Configurations (optional)
Windows
Wix, a third-party tool, is required to run MSI installer tests. Inno Setup, a third-party tool, is required to run EXE installer tests.
OS X
OS X should have required tools by default.
Linux
Might require additional packages to build RPM or DEB.
Attachments
Issue Links
- blocks
-
JDK-8200758 JEP 343: Packaging Tool (Incubator)
- Closed
- is cloned by
-
JDK-8253679 JEP-JDK-8247768: Test Plan for JEP 392: Packaging Tool
- Resolved
- relates to
-
JDK-8215036 Create initial set of tests for jpackage create-installer mode
- Resolved
-
JDK-8198710 Test Plan for JEP NNN: <Feature description>
- New