1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-11-28 08:38:51 +02:00
opentelemetry-go/internal/matchers
Isobel Redelmeier 3a9c80c56f Provide conformance tests for tracers (#191)
* Provide conformance tests for tracers

The test harness may be used to ensure that a given tracer behaves
according to the expectations set by the API.

* Add `ToMatchError` matcher

* Use DeepEqual to compare unknown types in matchers

Unlike basic `==`/`!=`, `reflect.DeepEqual` can compare arbitrary
types (e.g., `[]string` to `[]string`)

* Use struct instead of string for test context key
2019-10-17 11:13:57 -07:00
..
expectation.go Provide conformance tests for tracers (#191) 2019-10-17 11:13:57 -07:00
expecter.go Provide conformance tests for tracers (#191) 2019-10-17 11:13:57 -07:00
package.go Provide conformance tests for tracers (#191) 2019-10-17 11:13:57 -07:00