mercredi 17 février 2021

How can I dynamically generate a bazel test suite?

I want to dynamically generate Bazel test rules based on the output of a complicated python script (uses imports etc., can't be ported to Starlark unfortunately).

Is it possible to run this script, parsing its output and creating the test rules during Bazel rules parsing time instead of somehow generating a BUILD file that contains these rules pre-written?

Aucun commentaire:

Enregistrer un commentaire