Skip to content

Impact of CurrentCulture on acceptance tests #100

@acinep

Description

@acinep

The GeneratorAcceptanceTests currently fail for me because evidently my CurrentCulture is different from the one used to generate the Expected files. This manifests in the ExtendedPrimitivesClass - the DateTime/Offset strings are different...

Happy to do a PR to correct this - but would appreciate some guidance on your preferred approach

  • Explicitly set the CurrentCulture in the test itself (if so, which culture?)
  • Alter the generator to output a fixed datetime string irrespective of culture (e.g. ISO8601)
  • Allow control of the format via the generator spec/attributes

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions