user601836
user601836

Reputation: 3235

testing ejabberd modules

I have written some ejabberd modules using behaviour gen_mod. These modules will be part of ejabberd supervision tree and perform some tasks.

I would like to know what is the common way to test such kind of modules. I googled a bit, and the only useful resource was this github project.

Can you tell me what is the best way to test ejabberd modules?

Upvotes: 4

Views: 784

Answers (1)

Abhinav Singh
Abhinav Singh

Reputation: 2651

I will recommend using Escalus if you are looking to verify correctness of ejabberd modules. Directly from Escalus README:

Escalus is Erlang library for convenient testing of XMPP servers. It's intended to be used with Common Test.

Escalus is aimed at checking correctness of XMPP server behaviour, in contrast to tools such as Tsung which are about stress testing, and don't verify correctness.

Upvotes: 2

Related Questions