mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
f5c781c3f0
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
20 lines
456 B
Plaintext
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'
|
|
],
|
|
)
|