Skip to content
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

normj/v4-smoketests #3576

Closed
wants to merge 163 commits into from
Closed

normj/v4-smoketests #3576

wants to merge 163 commits into from

Conversation

AlexDaines
Copy link
Contributor

@AlexDaines AlexDaines commented Dec 12, 2024

Description

Implements the generator for smoke tests v2 format based on the new smoke-2.json schema. Key features:

  • Supports all configuration options from the smoke-2.json schema
  • Handles complex input types including arrays and nested objects
  • Generates both success and failure test cases
  • Includes proper test categorization
  • Manages special cases for Tags and Includes objects

Questions for review:

  1. Special case handling for Tags/Includes - should this be more generic?
  2. Configuration defaults - should we explicitly set schema defaults?
  3. Error handling - any additional checks needed beyond ErrorCode?
  4. Input validation - should we validate against operation parameters?
  5. Test categorization - any additional AWS-specific categories needed?

Motivation and Context

This implementation supports the new smoke tests format (smoke-2.json) which provides more configuration options and better structure for test cases. The generator creates test files that:

  • Allow per-test configuration
  • Support all endpoint configuration options
  • Handle complex input structures
  • Provide proper error handling and validation

Testing

  • Verified generation with ACM service model
  • Tested various scenarios including:
    • Success and failure cases
    • Complex input structures (arrays, nested objects)
    • Special cases (Tags, Includes)
    • Edge cases (null values, empty strings)
    • All configuration options
  • Generated tests compile successfully

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the README document
  • I have added tests to cover my changes
  • All new and existing tests passed

License

  • I confirm that this pull request can be released under the Apache 2 license

dscpinheiro and others added 30 commits February 22, 2024 13:52
* refactor: Remove net35 assemblies from nuspec templates
* refactor: Remove net35 from CrtIntegration nuspec
* refactor: Update manifest file to use net462 instead of net45
* refactor: Remove Travis solution from the generator
* refactor: Update integration test projects to target net462
* refactor: Rename integration test class
* refactor: Remove dynamoDBContext from AppConfig files (except for DynamoDB)
* refactor: Rename bcl45 to bcl and remove bcl35 references
* refactor: Remove bcl35 references from S3 solution
* refactor: Add missing exceptions from S3 and S3Control
* refactor: Update post-generator step to also delete bcl45 folders
* refactor: Update BCL constant in integration test projects
* refactor: Update BCL references in custom unit tests and DynamoDB
* refactor: Update generated namespaces not to use 35
* refactor: Update test namespaces not to use 35 or 45
* refactor: Remove all AWS_APM_API references
* refactor: Rename remaining bcl45 folders
* refactor: Remove RequestRetryMode.Legacy and DefaultConfigurationMode.Legacy
* chore: Add generated files
* refactor: Remove legacy option from STS Regionalized endpoints
* refactor: Remove STS legacy endpoint option
* chore: Add generated files
* refactor: Remove default-region from STS metadata.json
dscpinheiro and others added 25 commits September 27, 2024 13:56
Merge V3 into V4 prior to third preview
…omplicated-inheritdoc-Syntax

Docs: [API Ref] Support More Complicated <inheritdoc/> Syntax
* re-populate request property when instantiating WebServiceRequestEventArgs

* add devconfig
* fix #3497. Make InternalSDKUtils aot compatible in v4
#3513)

* fix: Update AWS_S3_USE_ARN_REGION environment variable to take precedence over s3_use_arn_region option in the config file.
…3532)

* Remove disabletrimmingleadingslash flag for copyobject and copypart operations
@AlexDaines AlexDaines marked this pull request as ready for review December 12, 2024 17:19
@AlexDaines AlexDaines changed the base branch from main to main-staging December 12, 2024 17:30
@AlexDaines AlexDaines marked this pull request as draft December 12, 2024 17:32
@AlexDaines AlexDaines closed this Dec 12, 2024
@AlexDaines
Copy link
Contributor Author

Closing in favor of #3577

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.