++tests needed

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-11 13:04:01 +02:00
parent 5443db97c4
commit cfd04dc204

View file

@ -38,20 +38,21 @@ Tests needed for config_install:
- Explorers are not transferred twice - Explorers are not transferred twice
- No transfer tried if there are no type_explorers - No transfer tried if there are no type_explorers
- $whatever should fail if there is no global explorer directory emulator()
- emulator may only be called with __ as prefix - fail otherwise! may only be called with __ as prefix - fail otherwise!
- ensure paths returned by object include dot-cdist object_run():
- ensure path of explorer of object returns correct path - ensure no object is run twice
- ensure requirements are taken into account?
config_install: - and order of run is adjusted
run_type_manifest() - same tests as for test_initial_manifest_*? - check (from extern?) that all needed variables are setup
run_manifest() - raise exception if manifest is not existent - ensure no code-{local, remote} is created,
object_run(): ensure no object is run twice if gencode is not producing code
object_run(): ensure requirements are taken into account - ensure THAT code-{local, remote} contains what gencode created
object_run(): check (from extern?) that all needed variables are setup - abort if gencode-* fails
object_run(): ensure no code-{local, remote} is created, if gencode is not producing code - abort if code-* fails
object_run(): ensure no code-{local, remote} contains what gencode created - abort == raise(FooException)
- gencode-*: ensure ENVIRONMENT is setup correctly
run_type_explorer(): ensure output is saved to correct path run_type_explorer(): ensure output is saved to correct path
run_type_explorer(): ensure a type with no explorers works run_type_explorer(): ensure a type with no explorers works
@ -59,3 +60,7 @@ Tests needed for config_install:
all: check that messages of all functions contain target_host in string all: check that messages of all functions contain target_host in string
config_install:
run_type_manifest() - same tests as for test_initial_manifest_*?
run_manifest() - raise exception if manifest is not existent