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
Recently we recieved customer's issue for browser usage, but we haven't enabled browser testing for generated code yet. It's better to have that no matter unbranded or azure clients in both Modular and RLC.
In autorest we have the browser testing for HLC and RLC and see code here.
"test:node": "npm run unit-test && npm run start-test-server:v2 & npm run integration-test:alone & npm run rlc-integration-test:alone & npm run test-version-tolerance & npm run stop-test-server",
"test:node:alone": "npm run unit-test && npm run integration-test:alone && npm run rlc-integration-test:alone && npm run test-version-tolerance",
"test:browser": "npm run start-test-server:v2 & npm run integration-test:browser & npm run rlc-integration-test:browser & npm run test-version-tolerance & npm run stop-test-server",
"test:browser:alone": "npm run integration-test:browser && npm run rlc-integration-test:browser && npm run test-version-tolerance",
We could have similar steps to enable the brower testing for cadl-ranch cases. Considering we have browser coverage for azure-rlc so I think this is nice to have features but for other cases there exist testing gaps so they are must. But enabling all testing may be time-consuming we need to decide if we could select possible cases included.
Enable the whole spector tests on the browser environment would be too much and I feel like it will probably impact the ci efficiency? Maybe we could just select a few typical spector test cases here?
MaryGao
changed the title
Add browser testing for esm Modular and RLC
Make sure generated code works in browser for RLC and Modular
Jan 23, 2025
Recently we recieved customer's issue for browser usage, but we haven't enabled browser testing for generated code yet. It's better to have that no matter unbranded or azure clients in both Modular and RLC.
In autorest we have the browser testing for HLC and RLC and see code here.
autorest.typescript/packages/autorest.typescript/package.json
Lines 14 to 17 in 78c804e
We could have similar steps to enable the brower testing for cadl-ranch cases. Considering we have browser coverage for azure-rlc so I think this is nice to have features but for other cases there exist testing gaps so they are must. But enabling all testing may be time-consuming we need to decide if we could select possible cases included.
autorest.typescript/packages/typespec-ts/package.json
Lines 54 to 57 in 78c804e
The text was updated successfully, but these errors were encountered: