You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
local project-name="$(dirname "${BASH_SOURCE:-$0}")" (determine the name of the currently executed script)
local settings-url=${1:--} (set local variable settings-url to - as default but if an argument was given to the function use that arg to override default URL.
ide create ${project-name} ${settings-url}
cd ${IDE_ROOT}/${project-name}
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.
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.
The text was updated successfully, but these errors were encountered: