We don't have anything built in for this, and there are a lot of ways to go about it from application code.
Is this the kind of testing you want humans to do before launching? Or does some of your testing happen later, based on prod data?
Different versions of your function can both send data to boundary studio, so you can have two separate versions checked out; they'll be searchable by function name but differentiable by the different schemas.
You could also use a single version of the code, and use dynamic types to tweak the schema.
If you're modifying the text of the prompt, there are more options, because changing the schema means changing the interface to the prompt:
If it's manual testing prior to release, I'd recommend simply making several separate functions, and either copy-pasting the prompt and doing small changes, or wrapping the prompt as a template_string and sharing it across the use sites.
If you want something more dynamic, based on production data, then a nice pattern is to have one BAML function, and parameterize it by a variable that signals which version of the prompt to use. Then you can use the variable in A/B testing.