Debian Codegraph @

src/tests/README

raw
1 This is a preliminary test harness for the server.
2
3 $ make tests
4
5 makes all of the tests
6
7 config/*
8
9 virtual server configuration that is used for the tests
10
11 unit/*
12 unit tests. Mostly parsing tests, to see if we can parse
13 conditions, xlat expansions, RADIUS attributes, etc.
14
15 xlat/*
16 dynamic expansions. All stand-alone ones.
17 e.g. can we turn %{md5:fooo} into the MD5 hash?
18
19 keywords/*
20 tests of "unlang" keywords. Both parsing and functionality.
21
22 auth/*
23 tests of authentication methods.
24
25 modules/*
26 tests for individual modules
27
28 In general, just placing files of the correct format in a directory
29 will cause them to be picked up by the test harness.