prosody/spec
Kim Alvefur 0ed2d38edf core.storagemanager: Fix tests by removing an assert that upset luarocks
Not sure why but this assert() caused a stack overflow in luarocks
2025-03-19 16:15:52 +01:00
..
inputs util.jwt: Add support for ES512 (+ tests) 2022-09-29 23:17:42 +01:00
json util.json: Accept empty arrays with whitespace (fixes #1782) 2022-11-04 12:26:10 +00:00
scansion core.configmanager: Add ways to read config values from files 2025-01-16 15:05:00 +01:00
core_configmanager_spec.lua configmanager tests: Split long line 2019-12-09 11:57:10 +00:00
core_moduleapi_spec.lua core.moduleapi: Silence strict luacheck warnings in tests 2023-12-09 20:55:26 +01:00
core_storagemanager_spec.lua core.storagemanager: Fix tests by removing an assert that upset luarocks 2025-03-19 16:15:52 +01:00
mod_bosh_spec.lua mod_bosh: Add tests (run with 'busted -r bosh') 2018-09-23 17:12:21 +01:00
muc_util_spec.lua spec: Include a hacky moduleapi stub to allow test to proceed 2020-04-11 17:59:39 +02:00
net_http_parser_spec.lua net.http.parser: Reject overlarge header section earlier 2023-08-23 12:18:34 +02:00
net_http_server_spec.lua net.http.server: Prevent loading of net.server in tests (breaks unrelated tests for some reason) 2018-03-24 00:06:55 +01:00
net_resolvers_service_spec.lua net.resolvers.service: Honour record 'weight' when picking SRV targets 2022-03-17 18:20:26 +00:00
net_stun_spec.lua net.stun: tests: Remove stray print() from debugging 2022-03-04 16:46:47 +00:00
net_websocket_frames_spec.lua net.websocket.frames: Add test for empty frame with MASK and key set 2020-10-15 14:01:22 +01:00
utf8_sequences.txt Port tests to the busted test runner 2017-09-15 17:07:57 -04:00
util_argparse_spec.lua util.argparse: Fix bug (regression?) in argument parsing with --foo=bar 2025-03-11 18:27:36 +00:00
util_array_spec.lua util.array: Fix new() library function 2023-07-22 16:31:05 +02:00
util_async_spec.lua util.async tests: Explicitly import match from luassert (luacheck) 2021-11-29 14:22:08 +00:00
util_bitcompat_spec.lua util.bit53: Add bnot() method 2024-03-01 17:22:29 +00:00
util_cache_spec.lua util.cache: Pass cache itself to eviction callback 2023-06-30 22:01:55 +02:00
util_crypto_spec.lua util.crypto: Add more ECC methods 2024-10-29 09:15:50 -05:00
util_dataforms_spec.lua Spelling: Fix various spelling mistakes (thanks timeless) 2022-03-07 00:13:56 +01:00
util_datamanager_spec.lua util.datamanager: Add basic tests 2021-02-09 23:25:30 +01:00
util_datamapper_spec.lua util.datamapper: Improve handling of schemas with non-obvious "type" 2022-07-08 17:32:48 +02:00
util_datetime_spec.lua util.datetime: Add some missing test cases 2022-10-08 23:55:22 +01:00
util_dbuffer_spec.lua util.dbuffer: Add a bunch of missing test cases 2022-10-11 11:38:32 +01:00
util_debug_spec.lua util.debug: Fix locals being reported under wrong stack frame in some cases (+tests!!) 2020-10-16 13:38:04 +01:00
util_encodings_spec.lua spec/util.encodings: Test a lonly padding (can appear like this in SASL) 2017-11-03 15:44:43 +01:00
util_envload_spec.lua util.envload: Add basic test of envload() 2021-03-26 13:03:22 +01:00
util_error_spec.lua util.error: Use is_error() instead of is_err() everywhere 2024-10-29 14:10:02 +01:00
util_events_spec.lua util.event: Add luacheck annotation to unused parameter in tests 2020-09-03 13:10:46 +01:00
util_format_spec.lua util.format: Skip control code escaping when doing full serialization 2022-01-27 21:14:22 +01:00
util_fsm_spec.lua util.fsm: New utility lib for finite state machines 2022-03-17 17:45:27 +00:00
util_hashes_spec.lua util.hex: Deprecate to/from in favour of encode/decode, for consistency! 2022-03-04 15:22:45 +00:00
util_hashring_spec.lua util.hashring: Support associating arbitrary data with nodes 2022-12-02 20:32:36 +00:00
util_hmac_spec.lua util.hex: Deprecate to/from in favour of encode/decode, for consistency! 2022-03-04 15:22:45 +00:00
util_http_spec.lua util.http: Silence strict luacheck warning in tests 2023-12-09 21:01:49 +01:00
util_human_io_spec.lua util.human.io: Don't accept ambiguous durations by default 2023-11-30 13:42:44 +00:00
util_human_units_spec.lua util.human.units: A library for formatting numbers with SI units 2019-01-04 08:46:26 +01:00
util_indexedbheap_spec.lua util.indexedbheap: Fix heap datastructure corruption in :reschedule(smaller_value) 2020-09-29 21:27:16 -05:00
util_interpolation_spec.lua util.interpolation: Add test for #1623 2021-01-25 21:27:05 +01:00
util_ip_spec.lua util.ip: Add another test case for match() and commonPrefixLength() 2024-02-23 12:03:31 +00:00
util_iterators_spec.lua util.iterators: join: Work even with only a single iterator in the chain 2022-10-06 18:34:40 +01:00
util_jid_spec.lua util.jid: Explicitly check for nil rather than falsy 2022-01-15 16:25:25 +01:00
util_json_spec.lua util.json: Test util.array integration 2020-01-15 21:14:06 +01:00
util_jsonpointer_spec.lua util.jsonpointer: Add basic tests 2022-05-08 18:03:44 +02:00
util_jsonschema_spec.lua util.jsonschema: Return basic structured validation response 2023-12-02 21:45:38 +01:00
util_jwt_spec.lua util.jwt: Add support for ES512 (+ tests) 2022-09-29 23:17:42 +01:00
util_multitable_spec.lua Port tests to the busted test runner 2017-09-15 17:07:57 -04:00
util_paseto_spec.lua spec: Suppress some harmless luacheck warnings in tests 2023-01-13 14:53:40 +00:00
util_paths_spec.lua util_paths_spec: Trim trailing white space 2020-10-17 19:24:44 +02:00
util_poll_spec.lua util.poll: Expand stub tests 2022-03-17 13:15:50 +01:00
util_promise_spec.lua util.promise: Fix test 2021-11-26 22:38:07 +01:00
util_pubsub_spec.lua util.pubsub: Add method returning subset of config as metadata 2024-11-08 02:11:00 +01:00
util_queue_spec.lua util.queue: tests: Add test for :replace() method 2024-11-12 11:25:49 +00:00
util_random_spec.lua spec/util.random: Check a larger range of sizes 2017-12-03 15:37:17 +01:00
util_ringbuffer_spec.lua util.ringbuffer: Fix accidentally committed test change (thanks buildbot) 2020-06-25 15:45:13 +01:00
util_roles_spec.lua util.roles: Fix tests to use autogenerated role id 2022-10-08 20:39:14 +01:00
util_rsm_spec.lua util.rsm: Increase test coverage 2021-03-06 18:22:52 +01:00
util_sasl_spec.lua util.sasl: Add basic tests for OAUTHBEARER 2023-05-26 20:45:10 +02:00
util_serialization_spec.lua util.serialization: Add option for allowing multiple references to the same table (but not cycles) 2018-10-27 12:43:03 +02:00
util_smqueue_spec.lua util.smqueue: Simplify compat table, fix dependent modules (thanks Martin) 2021-12-16 12:16:45 +01:00
util_stanza_spec.lua util.stanza: Handle Clark notation for attributes in :find() 2024-11-17 13:40:20 +01:00
util_strbitop_spec.lua util.strbitop: Remove unused import in tests 2024-02-23 12:13:06 +00:00
util_table_spec.lua util.table: Expand table.move() tests (thanks mutation testing) 2023-03-17 17:06:05 +00:00
util_throttle_spec.lua util.throttle: Silence some strict luacheck warnings 2023-12-09 20:36:29 +01:00
util_time_spec.lua util.time: Add brief tests 2018-08-18 00:41:49 +02:00
util_uuid_spec.lua util.uuid: Add UUIDv7 2021-08-15 14:44:21 +02:00
util_xml_spec.lua util.xml: Add an option to allow <?processing instructions?> 2022-02-04 20:47:39 +01:00
util_xmppstream_spec.lua util.xmppstream: Add tests for various XML features forbidden by the RFC 2018-07-11 11:58:25 +01:00
util_xtemplate_spec.lua util.stanza: Handle namespace prefixes for attributes in :find() 2024-11-17 12:35:51 +01:00