Comments (5)
I've pushed #4128 to grab the displayName
config and attach it to a tag that you can use to group by / filter 😄.
If a "test session" is a single invocation of jest, then it might be trickier to do in a hierarchical way 🤔
Can you think of a different way to do it? I'm interested in hearing your feedback
from dd-trace-js.
Sorry that I didn't get a chance to test yet 😅 thank you so much for the PR, I appreciate your responsiveness
from dd-trace-js.
hey @abejfehr ! Thanks for posting this, it's a great piece of feedback.
In your example, as far as I understand, jest
will not run the all the tests in package-a
before starting with package-b
: this makes it hard to group tests in each package in any meaningful way, as tests for every package will be scattered across the whole test session (=test command).
This said, I think adding the displayName
as metadata in the test and test suites is low hanging fruit and it's something we should definitely do.
It would be nice to see how long monorepo -> package-a takes vs monorepo -> package-b
Given how jest
runs tests in different packages (as I explain above), can you think of a way we could do this? I might be missing something (or wrong about something) and this is a feature that I think would be valuable.
from dd-trace-js.
If a "test session" is a single invocation of jest, then it might be trickier to do in a hierarchical way 🤔
In any case, having displayName
as a custom field would be kind of nice for grouping runs by packages that ran
Edit: Ironically, we don't currently set displayName
it's just something I saw in Jest's config that might make this easier and I'd be happy to add it to our configs
from dd-trace-js.
@abejfehr after the next release you'll be able to use test.jest.display_name
tag to grab whatever you have configured in displayName
😄
from dd-trace-js.
Related Issues (20)
- Error: bind EADDRINUSE 0.0.0.0
- Memory leak after upgrading to the v4.21.0 HOT 11
- Cannot read properties of undefined (reading 'timeout') HOT 4
- DD_AGENT_HOST is not used properly by the profiler for ipv6 addresses HOT 1
- dd-trace DNS plugin seems to log (quite latent) DNS lookups to dd-agent HOT 1
- fake issue
- lodash.pick vulnerability causes npm audit failure HOT 4
- Next.JS plugin integration HOT 5
- Question: Way to map specific aws resources to custom names
- Mapping request headers to baggage keys HOT 1
- Express plugin not working HOT 1
- Kafka.js instrumentation causes unhandled rejections
- Support Mocha parallel tests HOT 3
- dd-trace breaks in ESM when using package with circular imports HOT 2
- Properly name `bulkWrite` operations in the mongo plugin
- datadog-plugin-graphql is not validating if directives is an array HOT 5
- Cypress tests not reporting correctly in CI Testing Visibility with `cypress-fail-fast` HOT 24
- Timeout Errors not Displayed in Datadog Dashboard Despite Successful Reporting with DD_TRACE_DEBUG HOT 9
- Official DD-tracer Document should be updated to point out `none` OF DBM option is replaced with value `disabled` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-trace-js.