ejabberd_tests's Issues
tests should't require localhost2 host to be present
Break up muc_SUITE to smaller suites
I think each group or at least groups: moderator, admin (including admin_membersonly), occupant and owner should be moved to their own suites. Current muc_SUITE.erl file is far to big... ~4k lines of code...
failed quicktest
Hi, After running make quicktest it fails due to error reaching a dependency. Explicitly the error is below. Not sure if it is an error in the way dependency is being pulled or if I am doing anything incorrect.
Operating system: Ubuntu 14.04
erlang 18.1
Cloning into 'mochijson3'...
Pulling lhttpc from {git,"git://github.com/waisbrot/lhttpc.git", "824a89316d59353181990f5a461157751ca67907"}
Cloning into 'lhttpc'... fatal: reference is not a tree: 824a89316d59353181990f5a461157751ca67907
ERROR: git checkout -q 824a89316d59353181990f5a461157751ca67907 failed with error: 128 and output: fatal: reference is not a tree: 824a89316d59353181990f5a461157751ca67907
ERROR: 'get-deps' failed while processing /home/ejabberd_tests/deps/katt: rebar_abort make: *** [get-deps] Error 1
Broken end_per_suites
Some suites try to use output of escalus:delete_users
as new Config
but this function returns just ok
. It is difficult to notice, because CT doesn't scream about failed end_per_suites and does not stop testing. Example of such suite is sm_SUITE
, there can be more of them.
Spoofing of iq ids and misbehaving servers
We need tests for this. More information here: http://www.mail-archive.com/[email protected]/msg23590.html
It may require some changes in escalus and MongooseIM as well.
Special characters in tag's content
Add test case where xml's content contains some special characters.
See esl/MongooseIM#203 there is example stanza.
patch up the tests after exml's API cleanup
exml's xmlelement
record's body
attribute is called children
now.
Fix the tests to use the new name.
The exml_query:path
function doesn't accept elements
as a path component any more. Use the new exml_query:paths
instead.
The new exml code is to be found in api_cleanup branch
add tests for pep/geoloc
Are there any plans for writing pep/geoloc tests? We are having some people reporting problems with pep on our network, and it would be nice to prove whether it's the client or server's fault ;-)
Add test to ensure features are available after STARTTLS
This is an addendum to #131, which actually got me to that issue.
Now, escalus
seems to just authenticate with the server, regardless of whether the server advertises auth mechanisms or not, so it might be a very good idea to have a check for that either in escalus
directly or here.
Test case for multiple stanzas in BOSH
Create tests for issue esl/MongooseIM#185
init_per_suite skipped during 'make test' run
When running the test suites, via 'make test', against ESL ejabberd init_per_suite is always skipped for each suite - a sample of my logs are below. I am new to erlang/ejabberd and escalus so I'm having trouble investigating the cause. Is there documentation available for ejabberd_tests? Thanks in advance.
Testing ejabberd_tests.tests.login_SUITE: Starting test, 6 test cases
Testing ejabberd_tests.tests.login_SUITE: *** SKIPPED *** init_per_suite
Testing ejabberd_tests.tests.login_SUITE: TEST COMPLETE, 0 ok, 0 failed, 6 skipped of 6 test cases
Bosh and reconnects
Kate (with jid carol@localhost) sometimes receives this:
{xmlel,<<"presence">>,
[{<<"type">>,<<"unavailable">>},
{<<"to">>,<<"carol@localhost/res1">>},
{<<"from">>,<<"carol@localhost/res1">>}],
[{xmlel,<<"status">>,[],
[{xmlcdata,<<"Replaced by new connection">>}]}]}
Unstable test cases on travis
Details in issue comments.
Garbidge left after moderator_voice_list
Presence stanzas from Carol can be received in next tests.
There are two ways to solve this:
- split group "moderator" into two: with and without Carol.
- wait for an empty room in
init_per_testcase
.
Fix connect_SUITE so that it doesn't rely on the cert file location
The cert file could be for example send over RCP, saved on the MongooseIM machine and the server can be restarted. When all the tests are finished, the cert file can be removed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.