![]() ![]() gitignore.Īll apps are designed to work from maintenance versions 1.71 to 1.108. So that the other versions can also be used locally and in GitHub Actions, the script copy-example-apps.js was created so that these scenarios are copied in all other maintenace versions.Īs described above, the data from the json file is used to copy the apps.Īs you can already also see from the grayed out folders, these are also added to. Setup AppsĪs you can see in the packages folder, there is always only one version of the respective scenario. Theoretically, each scenario and UI5 version could have its own tests. In addition to this, the exact UI5 version is added. ![]() ![]() In “copyVersions” the same attributes are used to create the apps. copyVersions -> into which versions should the scenario be copied.testMapping -> all wdi5 test files this app should run.port -> Port on which the app runs on,in theory all apps could run side by side.appTitel -> Title display in the App Header. ![]() We used these apps for development and testing.įor an overview of which apps are executed with which version and which tests, the testapps.json was created for this purpose, which later scripts fall back on.Īs Parent Attributes the scenario is described. To install the dependencies, we used pnpm. The individual UI5 apps consume the latest version directly from the repository. The basic setup involves a monorepo in GitHub with a folder that contains all the supported scenarios and a CAP server that provides the data. You can find all the currently supported scenarios in the documentation. To automate testing for these scenarios, I used wdi5 in conjunction with GitHub Actions. The main objective was to support all current maintenance versions of UI5 and as many usage scenarios as possible. In a previous blog post, I introduced a UI5 reuse component that simplifies the process of uploading Excel files in UI5. Load Data from a Excel File in UI5 and display the data in a Table with this Open Source Component How test multiple scenarios and UI5 Versions with wdi5 and GitHub Actions More from the Series related to the UI5 Excel Upload Control Simplifying Excel Upload in Fiori Elements: The Open Source and Easy-to-Use UI5 Custom ControlĬreate a UI5 custom library with versioning using a multi version namespace ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |