-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rethink the folder structure created by wdi5 #9
Comments
Hi, rationale behind picking |
I can imagine that it might be be confusing for all who just use wdi5, not knowing about the Browser and Node part, and/ or have experience with the
structure. |
Yea, that is tricky. From an ui5 standpoint, I would expect all the tests to be in the How about adding a ".gitignore" like feature in the ui5 tooling that will automatically add all folders/files with such a file to the excludes. This would make it possible to add it to the WDI5 template code and therefor need no further config by the Developer. @RandomByte do you think such a feature is possible without too much work ? |
You can already exclude resources from the build: https://sap.github.io/ui5-tooling/stable/pages/Configuration/#exclude-resources Excluded resources won't be available to the ui5-tooling-modules task. However, they are still available in the server. The idea is to exclude runtime resources that are needed during development but unwanted in production. Our general expectation is that |
From an application developer pov I can add the following: our wdi5 (e2e / scenario) tests most probably use more than one (UI-) app (e.g. doing some configuration in the settings app and then use those configurations in another app). So putting them in the Regarding the excludes, we currently exclude
because these sources are needed in the pipeline to run the tests, but they are not needed in the deployed application. |
@vobu - just notice something while checking a reported issue for the ecosystem. When we create a new project for TypeScript, wdi5 adds the
webapp/test/e2e
folder which includes Node runtime related code. When using this in combination with the ui5-tooling-modules either an excludes must be maintained or better we move non-UI5-runtime code into another folder. This doesn't make sense to have it in thewebapp
folder, isn't it?Happy to discuss this with you!
The text was updated successfully, but these errors were encountered: