You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xmpp.chapril.org-ejabberd/test
Badlop 2d32c66fd7
Update copyright to 2020 (#3149)
3 years ago
..
docker Update copyright to 2020 (#3149) 3 years ago
ejabberd_SUITE_data Allow configuring proxy65 port in tests 3 years ago
elixir-config Move mod_irc to ejabberd-contrib 5 years ago
README Don't attempt to create SQL tables when running tests 3 years ago
announce_tests.erl Update copyright to 2020 (#3149) 3 years ago
carbons_tests.erl Update copyright to 2020 (#3149) 3 years ago
csi_tests.erl Update copyright to 2020 (#3149) 3 years ago
ejabberd_SUITE.erl Update copyright to 2020 (#3149) 3 years ago
example_tests.erl Update copyright to 2020 (#3149) 3 years ago
jidprep_tests.erl Update copyright to 2020 (#3149) 3 years ago
ldap_srv.erl Update copyright to 2020 (#3149) 3 years ago
mam_tests.erl Update copyright to 2020 (#3149) 3 years ago
muc_tests.erl Update copyright to 2020 (#3149) 3 years ago
offline_tests.erl Update copyright to 2020 (#3149) 3 years ago
privacy_tests.erl Update copyright to 2020 (#3149) 3 years ago
private_tests.erl Update copyright to 2020 (#3149) 3 years ago
proxy65_tests.erl Update copyright to 2020 (#3149) 3 years ago
pubsub_tests.erl Update copyright to 2020 (#3149) 3 years ago
push_tests.erl Update copyright to 2020 (#3149) 3 years ago
replaced_tests.erl Update copyright to 2020 (#3149) 3 years ago
roster_tests.erl Update copyright to 2020 (#3149) 3 years ago
sm_tests.erl Update copyright to 2020 (#3149) 3 years ago
suite.erl Update copyright to 2020 (#3149) 3 years ago
suite.hrl Remove Riak support 4 years ago
upload_tests.erl Update copyright to 2020 (#3149) 3 years ago
vcard_tests.erl Update copyright to 2020 (#3149) 3 years ago

README

You need MySQL, PostgreSQL and Redis up and running.

MySQL should be accepting TCP connections on localhost:3306.
PostgreSQL should be accepting TCP connections on localhost:5432.
Redis should be accepting TCP connections on localhost:6379.
MySQL and PostgreSQL should grant full access to user 'ejabberd_test' with
password 'ejabberd_test' on database 'ejabberd_test'.

Here is a quick setup example:

------------------
PostgreSQL
------------------
$ psql template1
template1=# CREATE USER ejabberd_test WITH PASSWORD 'ejabberd_test';
template1=# CREATE DATABASE ejabberd_test;
template1=# GRANT ALL PRIVILEGES ON DATABASE ejabberd_test TO ejabberd_test;
$ psql ejabberd_test -f sql/pg.sql

-------------------
MySQL
-------------------
$ mysql
mysql> CREATE USER 'ejabberd_test'@'localhost' IDENTIFIED BY 'ejabberd_test';
mysql> CREATE DATABASE ejabberd_test;
mysql> GRANT ALL ON ejabberd_test.* TO 'ejabberd_test'@'localhost';
$ mysql ejabberd_test < sql/mysql.sql