I want to test cc_binay in bazel with py_test rule, how can I access the cc_binary in python file? My bazel BUILD file is:
py_test(
name = 'simple_test',
size = 'small',
srcs = ['simple_test.py'],
data = [':simple'], # the tested cc_binary
)
Can anybody give me a example? Thank you!