https://www.boundaryml.com logo
🟡 Building an efficient test suite in Baml/Rust
# questions
s
I'm building an agent loop in Baml/Rust, so far so great. My issue is this, in my agent_loop.baml I want to build out a large test suite of different scenarios with testing the various tool calls with many variations of prompts. But I don't want to 10x the size of my agent_loop.baml. Optimally there would be some notion of test as code, where we could extract the
test
to it's own file. Barring that, is the only option I have to programatically test it in custom rust code?
v
we are actively working on this (you can see the number of commits to the
baml_language
folder in our repo which is a full rebuild of the compiler that will give turing completeness! once that work lands, you'll be able to write arbitrary tests programatically!)
s
Incredible, thank you!