feat: implement Spector integration tests for 22 scenario groups#33
Draft
feat: implement Spector integration tests for 22 scenario groups#33
Conversation
Co-authored-by: JialinHuang803 <139532647+JialinHuang803@users.noreply.github.com>
Co-authored-by: JialinHuang803 <139532647+JialinHuang803@users.noreply.github.com>
…pt header Co-authored-by: JialinHuang803 <139532647+JialinHuang803@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement Spector integration tests for 22 scenario groups
feat: implement Spector integration tests for 22 scenario groups
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Azure Modular integration test coverage for 22 previously untested Spector scenario groups across new and existing spec files.
Updated existing spec files
encodeDuration.spec.ts— un-skipfloatSecondsLargerUnit/floatMillisecondsLargerUnitfor bothheaderandquerygroupspayloadXml.spec.ts— addModelWithEnum,ModelWithDatetime, andXmlErrorValuescenariosazureCorePage.spec.ts— addwithRelativeNextLink(full 2-page iteration)azureArmResources.spec.ts— un-skiptopLevel.update(PATCH + LRO poller)azureArmOperationTemplates.spec.ts— addexportArrayLRO scenario (returnsExportResult[])resiliencySrvDrivenOld.spec.ts— addbreakTheGlassvia rawfetch(v1 client calling v2-only endpoint)New spec files + generated clients
azureClientGeneratorCoreClientDefaultValue.spec.tsgetOperationParameter,getPathParameter,putModelProperty✅;getHeaderParameter❌ (see below)azureArmMultiService.spec.tsCompute_VirtualMachines+ComputeDisk_DiskscreateOrUpdate/getazureArmMultiServiceOlderVersions.spec.tssize/diskSizeGBpropsazureArmMultiServiceSharedModels.spec.tsCompute_VirtualMachines+Storage_StorageAccountssharingSharedMetadataserviceMultiService.spec.tsServiceA_Foo.test+ServiceB_Bar.testvia combined clientauthNoauthUnion.spec.tsvalidNoAuth+validTokenparametersQuery.spec.tsParameters_Query_Constant_postresponseStatusCodeRange.spec.tserrorResponseStatusCode404+errorResponseStatusCodeInRangeNew entries added to
azureModularTspsincadl-ranch-list.js;tspconfig.yaml+.gitignore+src/index.d.tscommitted for each.Known skips / emitter limitations
Azure_ClientGenerator_Core_Override_GroupParameters_group— remainsit.skipper open issue #3540Azure_ClientGenerator_Core_ClientDefaultValue_getHeaderParameter— emitter serializesAccept: application/jsoninstead ofapplication/json;odata.metadata=none; test skipped with commentOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.