Skip to content

feat: add spector integration tests for 16 not-yet-covered scenario groups#3909

Merged
JialinHuang803 merged 4 commits intomainfrom
copilot/verify-implement-spector-tests
Apr 15, 2026
Merged

feat: add spector integration tests for 16 not-yet-covered scenario groups#3909
JialinHuang803 merged 4 commits intomainfrom
copilot/verify-implement-spector-tests

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 13, 2026

Adds missing Spector test coverage for scenario groups across 4 existing .spec.ts files in test/azureModularIntegration/.

Changes by file

  • azureClientGeneratorCoreOverride.spec.ts — adds GroupParameters.group test (skipped — emitter limitation)
  • payloadPageable.spec.ts — adds ServerDrivenPagination.AlternateInitialVerb.post (POST-then-GET link pagination)
  • payloadXml.spec.ts — adds 11 model scenarios (22 get/put tests):
    • ModelWithRenamedProperty, ModelWithNestedModel, ModelWithRenamedNestedModel
    • ModelWithWrappedPrimitiveCustomItemNames, ModelWithUnwrappedModelArray
    • ModelWithRenamedWrappedModelArray, ModelWithRenamedUnwrappedModelArray
    • ModelWithRenamedWrappedAndItemModelArray, ModelWithRenamedAttribute
    • ModelWithNamespace, ModelWithNamespaceOnProperties
  • specialWords.spec.ts — adds ExtensibleStrings.putExtensibleStringValue

Already covered (no changes needed)

Skipped / emitter limitations

  • Override.GroupParameters.group — skipped; emitter limitation
  • ClientDefaultValue.getHeaderParameter — emitter sends application/json instead of the @clientDefaultValue-specified application/json;odata.metadata=none
  • XmlPagination.listWithContinuation — emitter does not follow XML marker-based continuation tokens across pages (returns only first page)

Copilot AI changed the title [WIP] Verify and implement spector tests for scenario groups feat: add spector integration tests for 14 not-yet-covered scenario groups Apr 13, 2026
Copilot AI requested a review from v-jiaodi April 13, 2026 05:56
@JialinHuang803 JialinHuang803 marked this pull request as ready for review April 13, 2026 11:33
@JialinHuang803
Copy link
Copy Markdown
Member

@copilot Can you implement two additional scenario groups: Payload_Xml_ModelWithNamespaceOnPropertiesValue, Payload_Xml_ModelWithNamespaceValue

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 14, 2026

@copilot Can you implement two additional scenario groups: Payload_Xml_ModelWithNamespaceOnPropertiesValue, Payload_Xml_ModelWithNamespaceValue

Added Payload_Xml_ModelWithNamespaceValue (get/put) and Payload_Xml_ModelWithNamespaceOnPropertiesValue (get/put) tests to payloadXml.spec.ts in commit 963eea5. All 51 XML tests pass.

Copilot AI changed the title feat: add spector integration tests for 14 not-yet-covered scenario groups feat: add spector integration tests for 16 not-yet-covered scenario groups Apr 14, 2026
Copilot AI requested a review from JialinHuang803 April 14, 2026 00:47
@JialinHuang803 JialinHuang803 merged commit 3ddf967 into main Apr 15, 2026
16 of 17 checks passed
@JialinHuang803 JialinHuang803 deleted the copilot/verify-implement-spector-tests branch April 15, 2026 08:12
Copilot stopped work on behalf of JialinHuang803 due to an error April 15, 2026 08:12
Copilot AI requested a review from JialinHuang803 April 15, 2026 08:12
@qiaozha qiaozha mentioned this pull request Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Copilot] Verify and implement spector tests for 16 scenario groups

4 participants