summaryrefslogtreecommitdiff
path: root/doc/en/weechat_dev.en.asciidoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-07-20 12:13:25 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-07-20 12:13:25 +0200
commitdb9a8e7bc47f5638e6f6c39a5de601cca79a7f7b (patch)
tree69325326a6e643fc6032bdaff5034d0c3f436a5a /doc/en/weechat_dev.en.asciidoc
parent91ce401769b7e3fcdfaf17738c0822d0a1a3729c (diff)
downloadweechat-db9a8e7bc47f5638e6f6c39a5de601cca79a7f7b.zip
tests: add unit tests using CppUTest
The tests can be run only via CMake: 1. build with tests: cmake .. -DENABLE_TESTS=ON 2. make 3. ctest (or ctest -V for verbose output)
Diffstat (limited to 'doc/en/weechat_dev.en.asciidoc')
-rw-r--r--doc/en/weechat_dev.en.asciidoc22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/en/weechat_dev.en.asciidoc b/doc/en/weechat_dev.en.asciidoc
index eb150b2ee..29ae8593f 100644
--- a/doc/en/weechat_dev.en.asciidoc
+++ b/doc/en/weechat_dev.en.asciidoc
@@ -68,6 +68,9 @@ The main WeeChat directories are:
| guile/ | Guile (scheme) scripting API
| trigger/ | Trigger plugin
| xfer/ | Xfer plugin (IRC DCC file/chat)
+| tests/ | Tests
+| unit/ | Unit tests
+| core/ | Unit tests for core functions
| doc/ | Documentation
| po/ | Translations files (gettext)
| test/ | Tools/files to test WeeChat (like Weercd, an IRC server)
@@ -281,6 +284,25 @@ WeeChat "core" is located in following directories:
| xfer-upgrade.c | Save/restore of xfer data when upgrading WeeChat
|===
+[[sources_tests]]
+==== Tests
+
+[width="100%",cols="1v,5",options="header"]
+|===
+| Path/file | Description
+| tests/ | Root of tests
+| unit/ | Root of unit tests
+| test-eval.cpp | Tests: evaluation of expressions
+| test-hashtble.cpp | Tests: hashtables
+| test-hdata.cpp | Tests: hdata
+| test-infolist.cpp | Tests: infolists
+| test-list.cpp | Tests: lists
+| test-string.cpp | Tests: strings
+| test-url.cpp | Tests: URLs
+| test-utf8.cpp | Tests: UTF-8
+| test-util.cpp | Tests: util functions
+|===
+
[[documentation_translations]]
=== Documentation / translations