Replies: 2 comments 1 reply
-
|
Righto it was my fault, as expected :-), missed a dispose on the activity. Tweaked a few other things, now it's beautiful!
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ok in addition I ended up using an ITestExecutor to make sure the async flow for the test activity was above the test, as creating a fixture inside the test doesn't wrap the test. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! I want to create a root activity per test instead of the default root per session. I'm using SerilogTracing so really want to opt out of the default telemetry so I can create my own span tree in the test setup. I'm trying to filter out the existing activities but it leads to orphaned spans due the spans still being created but then filtered.
I want to do this in an
OnTestStartor BeforeEvery(Test) (neither works today):_testActivity = _traceLogger.StartActivity("Running Test {TestName}", context.Metadata.TestName);but as you can see in this seq trace, there's a few issues.[BeforeEvery(Test)]but its detached from the actual test. Ideally I'd like something like:Is this possible today?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions