Replies: 2 comments
-
To get soft assertions, the "hard" assertion implementations are reused and proxied via ByteBuddy. However, this happens at runtime. We do have #2563 about performance improvements, where we might be able to generate all the proxies at build time via the Depending on the use case, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yep, code generation would be nice. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been focusing on reducing the runtime of tests and I've noticed that using Soft Assertions slows tests down because of their use of proxying (I know 800ms might not be a long time, but when all of my tests run in under 1500ms, that 800ms is significant). I haven't looked deeply into the code (yet), but I'm wondering what in the design requires the proxies?
Beta Was this translation helpful? Give feedback.
All reactions