Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Testing

CJ Grady edited this page Jan 20, 2016 · 1 revision

This is a quick start to the testing scripts. It will be updated and expanded as tests evolve

Run these tests as lmwriter

Schema tester (after fix) – Using Dermot

Current version on yeti is old and thus requires that the test is run from the scripts directory. This has been fixed in newer versions

$ cd @LMHOME@/LmWebServer/test/scripts ; @PYBIN@ @LMHOME@/LmWebServer/tests/scripts/schemaTester.py Dermot Dermot

The output will be a list of successful tests and a list of failed tests.

Rewrite rules tester (May only be appropriate for us)

$ @PYBIN@ @LMHOME@/LmWebServer/tests/scripts/rewriteRuleTester.py

Currently, will fail and crash at first problem. Successful URLs are printed as tests run