-
Notifications
You must be signed in to change notification settings - Fork 27
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
Feat add specific unit and opa5 test templates #78
base: main
Are you sure you want to change the base?
Feat add specific unit and opa5 test templates #78
Conversation
Looks good! Does this mean we should merge this and SAP/open-ux-tools#2164 at the same time? Or merge the open-ux-tools first and make sure this generator uses the latest version after its release? |
I would wait till the preview-middleware fix is in. Won't take that long 🤞🏻 |
… feat-add-specific-unit-and-opa5-test-templates # Conflicts: # generators/dependencies.js
Thanks for the newest commits. Just waiting for SAP/open-ux-tools#2164 and will merge after that. |
@nicoschoenteich luckily we waited. I'll adjust the templates according to what @petermuessig just implemented 🐱 UPDATE: now that I had a look at it it's not relevant for the templates because everything that changed is served via preview-middleware 🥳 |
@nicoschoenteich I just merged SAP/open-ux-tools#2164 so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few learnings from today
… feat-add-specific-unit-and-opa5-test-templates # Conflicts: # generators/dependencies.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just one small comment
… @types/qunit as it comes with OpenUI5 or SAPUI5
@nicoschoenteich not sure what this error is all about 🤷🏻
|
I think a new version of the template now runs |
The |
You are right. This particular test also passes locally (after uninstalling |
In case the project is a TypeScript project the generator should generate
.ts
files for opa5 and unit testsOut of scope for this PR: In case the project is a Fiori Elements (fpmpage) project the generator should make use of sap.fe.test in the generated opa5 tests
Depends on SAP/open-ux-tools#2164