Powered by
🟡 BAML Playground Assert Failure Visibility Issue
# questions
h
Henry
12/19/2025, 6:59 AM
It seems that BAML playground does not show which assert has failed in a test case? Pics in thread.
Henry
12/19/2025, 7:00 AM
The third assert here should fail
https://cdn.discordapp.com/attachments/1451469088907067545/1451469202937348198/Screenshot_2025-12-18_at_11.00.13_PM.png?ex=69464988&is=6944f808&hm=d86def6d5b58b50d2f65bcbeb3d57429558fdeecc4a88310feb35e165ffa8506&
Henry
12/19/2025, 7:00 AM
This is the result in the playgournd
https://cdn.discordapp.com/attachments/1451469088907067545/1451469295287537694/Screenshot_2025-12-18_at_11.00.36_PM.png?ex=6946499e&is=6944f81e&hm=0e63c8f413bd82c04f29415cfeca13c6a177a17061d75e71afac193a6f37e5dc&
v
Vaibhav (BAML 🐑)
12/19/2025, 7:06 AM
we should put a better default name there, as a minor workaround:
Copy code
@@assert(some_name, {{ expr }})
will add the name!
Previous
Next