sapling/eden/fs/integration/TARGETS
Wez Furlong f5c781c3f0 some prep work for hypothesis testing
Summary:
Adds a very basic example of testing eden functionality with hypothesis.

We'll be building on this with stateful testing in a follow on diff tomorrow.

There's some prep/setup work in the base test class that can be removed when an updated version of hypothesis ships and is updated in our third-party repo.

Reviewed By: simpkins

Differential Revision: D3968250

fbshipit-source-id: 46382c3bf2d6a0edbd60ac2b048b1bae26ca2572
2016-10-14 07:26:13 -07:00

20 lines
456 B
Plaintext

include_defs('//eden/DEFS')
for daemon_target, suffix in get_daemon_versions():
python_unittest(
name = 'integration%s' % suffix,
srcs = glob(['*.py']),
env = {
'EDENFS_SUFFIX': suffix,
# 'HYPOTHESIS_VERBOSITY_LEVEL': 'verbose',
},
deps = [
daemon_target,
'@/eden/fs/cli:cli',
'@/eden/fs/integration/lib:lib',
],
external_deps = [
'py-hypothesis'
],
)