Add tests to mock_tracer
jhorowitz opened this issue · 2 comments
jhorowitz commented
Mock tracer has no tests which is important for something which is used to test other components.
jhorowitz commented
I'm happy to take this one.
yurishkuro commented
at minimum we should have this in unittest.js
import { MockTracer } from '../mock_tracer';
// Run the tests on the Mock Tracer.
describe('MockTracer Compatibility', () => {
apiCompatibilityChecks(() => new MockTracer());
});
However, this currently fails because mock tracer does not implement propagation, which it does in other languages (otherwise it's not possible to use MockTracer for testing framework instrumentations).