26 lines
1.2 KiB
Markdown
26 lines
1.2 KiB
Markdown
# Clixon tests
|
|
|
|
This directory contains testing code for clixon and the example
|
|
application. Assumes setup of http daemon as describe under apps/restonf
|
|
- clixon A top-level script clones clixon in /tmp and starts all.sh. You can copy this file (review it first) and place as cron script
|
|
- all.sh Run through all tests named 'test*.sh' in this directory. Therefore, if you place a test in this directory matching 'test*.sh' it will be run automatically. By default the script will exit on first error. Run as `all.sh summary` to continue and print a summary on all tests.
|
|
- test_nacm.sh Auth tests using internal NACM
|
|
- test_nacm_ext.sh Auth tests using external NACM (separate file)
|
|
- test_cli.sh CLI tests
|
|
- test_netconf.sh Netconf tests
|
|
- test_restconf.sh Restconf tests
|
|
- test_yang.sh Yang tests for constructs not in the example.
|
|
- test_leafref.sh Yang leafref tests
|
|
- test_datastore.sh Datastore tests
|
|
|
|
Example runs:
|
|
```
|
|
> run.sh
|
|
# Runs through all tests matching 'test_*.sh' in the directory. Prints test output
|
|
# and stops on first error
|
|
|
|
> run.sh summary
|
|
# Same as above but continues after errors and does not print test output.
|
|
```
|
|
|
|
|