Skip to content

Potencial improvements to default tests template #98

Open
@matrixik

Description

@matrixik

I'm not sure if this will be interesting for this project but Dave Cheney gave nice presentation about writing tests for Go code with some improvements over default template from gotests:
https://dave.cheney.net/paste/gopherchina-2019-testing-talk.pdf

Like having name in map[string]struct instead of []struct or using https://github.com/google/go-cmp Diff for better displaying what differ between outputs (instead of %v).

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