Skip to content

Add tests for the web example #48

@lzap

Description

@lzap

The internal/web_example test is a nice "integration test" but it has a no Go test function. Extract the code into setup function and use that as both example and also a base for a test suite that will validate various aspects of the call like trace_id is being carried over, it does not change, that each line contains trace_id or other required attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions