clixon/test
2019-01-22 18:37:21 +01:00
..
all.sh * Strict namespace setting can be a problem when upgrading existing database files, such as startup-db or persistent running-db, or any other saved XML file. 2019-01-02 15:18:29 +01:00
Jenkinsfile Jenkinsfile sudo 2018-06-17 23:12:39 +02:00
lib.sh JSON updates 2019-01-20 19:13:40 +01:00
nacm.sh * NACM extension (RFC8341) 2018-12-16 19:49:19 +01:00
plot_perf.sh restconf performance test 2018-01-27 14:46:53 +01:00
README.md Keyword "min" (not only "max") can be used in built-in types "range" and "length" statements. 2019-01-06 22:11:59 +01:00
test_choice.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_cli.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_compat.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_datastore.sh * Strict namespace setting can be a problem when upgrading existing database files, such as startup-db or persistent running-db, or any other saved XML file. 2019-01-02 15:18:29 +01:00
test_feature.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_identity.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_install.sh Added new clixon-lib yang module for internal netconf protocol. Currently only extends the standard with a debug RPC. 2019-01-02 22:50:03 +01:00
test_json.sh JSON updates 2019-01-20 19:13:40 +01:00
test_leafref.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_list.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_nacm.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_nacm_ext.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_nacm_protocol.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_netconf.sh example client-rpc similar to other example rpc:s 2019-01-22 18:37:21 +01:00
test_openconfig.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_order.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_perf.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_restconf.sh example client-rpc similar to other example rpc:s 2019-01-22 18:37:21 +01:00
test_restconf2.sh JSON updates 2019-01-20 19:13:40 +01:00
test_rpc.sh verify empty body and/or empty yang input/output 2019-01-21 14:28:44 +01:00
test_startup.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_stream.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_type.sh * xsd regular expression support for character classes [https://github.com/clicon/clixon/issues/68] 2019-01-17 16:13:34 +01:00
test_union.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_when_must.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_xml.sh * XML<>JSON conversion problems [https://github.com/clicon/clixon/issues/66] 2019-01-19 21:39:19 +01:00
test_xpath.sh memleaks 2018-07-20 23:16:26 +02:00
test_yang.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_yang_load.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_yang_namespace.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00
test_yangmodels.sh * Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf. 2019-01-13 17:34:15 +01:00

Clixon tests

This directory contains testing code for clixon and the example application. Assumes setup of http daemon as describe under apps/restonf

  • Jenkinsfile Makefile for Jenkins tests. Build clixon and run tests.
  • 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.
  • site.sh Add your site-specific modifications here
  • 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
  • and many more...

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.