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

Expose crosstests.Create #2501

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Expose crosstests.Create #2501

merged 1 commit into from
Oct 18, 2024

Commits on Oct 18, 2024

  1. Expose crosstests.Create

    This begins to turn cross-tests into a library with a defined interface. Existing
    cross-tests say that they are a prototype level API, and they feel that way. The
    prototyping was successful, and cross-tests have proven their worth. We should begin to
    move towards a more discover-able API. The first function of which is:
    
    ```go
    // crosstests/create.go
    
    func Create(
    	t T, resource map[string]*schema.Schema, tfConfig cty.Value, puConfig resource.PropertyMap,
    	options ...CreateOption,
    )
    ```
    
    We can continue to iterate on this API, but we should begin to formalize a boundary
    between the implementation of cross-tests and tests written with cross-tests.
    
    stack-info: PR: #2501, branch: iwahbe/stack/2
    iwahbe committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    4bd2817 View commit details
    Browse the repository at this point in the history