Skip to content

Create script for local end-to-end testing #2000

@hohwille

Description

@hohwille

Task summary

This story is about creating a (bash) script that automate the build and installation of the local IDEasy code-base:

  • build IDEasy (see step 3 of https://github.com/devonfw/IDEasy/blob/main/documentation/contributing/graalvm-build-guide.adoc)
  • include the assembly for windows if easily possible
  • delete $IDE_ROOT/_ide/software/maven/ideasy/ideasy/local-dev if it exists
  • create the folder $IDE_ROOT/_ide/software/maven/ideasy/ideasy/local-dev
  • copy the package contents to the newly created, empty local-dev folder (ideasy[.exe] goes to bin subfolder)
  • finally update the symbolic link $IDE_ROOT/_ide/installation to the new local-dev folder (you could use ideasy ln -s ... command for that).

So after running the script successfully, I can call ide ... commands and will test the native image and local code I just build. This should make it easier to do e2e testing (e.g. for auto-completion change, etc.).

Additional context

To go back developer can simply do ide upgrade --mode=stable (and potentially ide upgrade --mode=snapshot)

Metadata

Metadata

Assignees

Labels

bashbash, zsh, git-bash (integration, scripts)enhancementNew feature or requestinternalNothing to be added to CHANGELOG, only internal storyready-to-implementtestrelated to testing and QA

Type

No fields configured for Task.

Projects

Status
🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions