devonfw / IDEasy

Tool to automate the setup and updates of a development environment for any project (Successor of devonfw-ide).
Apache License 2.0
8 stars 23 forks source link

Create MVP for Integration Tests #583

Open hohwille opened 2 months ago

hohwille commented 2 months ago

We need integration tests for IDEasy. Details can be found in epic #572.

This story is about implementing a minimal viable product or in other words the smallest possible first step to get some first integration testing added to IDEasy that can later be extended.

Before implementing anything please first read #572 and come up with an idea how to implement it. Discuss that in our daily or Tue meeting and start implementation after we agreed on that.

hohwille commented 1 week ago

Idea is to create a bash file with functions sourced before execution of the actual test (should IMHO be sourced by the test runner and not every individual test script to make it simpler than it was in devonfw-ide). There we can define a function doIdeCreate() that does the following:

then most integration test scripts can start with doIdeCreate and then do whatever they want to test... ide install mvn

However an integration test of the help functionality would not call doIdeCreate.