diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -3,6 +3,29 @@ ct_helper Helper modules for common_test suites. +Creating temporary static files +------------------------------- + +This library includes a function that will generate files tailored +for testing web servers. The following snippet will create a +directory containing all the files and subsequently delete it all. + +``` erlang +ct_helper:create_static_dir(Path), +%% do things! +ct_helper:delete_static_dir(Path). +``` + +The following files are created. Replace `./` with the `Path` passed +as argument to find the real path of the files. + + * ./ + * ./directory/ + * ./unknown + * ./style.css + * ./index.html + * ./unreadable (mode 0333) + Generating SSL certificates --------------------------- |