I cooked up a quick Bazel proof of concept to run Python tests. Bazel's
advantage over Nosetests is that it caches results and does dependency
tracking on tests to know when to rerun them. (I am not trying to replace
Gradle.)

The config is almost working (121 out of 123 tests files work, 2 have
import errors that I don't understand). I'd appreciate it if anyone knows
what's going wrong.

Code: branch <https://github.com/udim/beam/tree/bazel>, commit
<https://github.com/udim/beam/commit/3c08b21a9950e39bf71b150a087ae7bf7350f7c3>

The idea was to use Tox to set up the virtual environment and to use
  bazel test //apache_beam/...
to run the tests in each environment (instead of "python setup.py
nosetests").

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to