Loïc Hoguin
9823450cc3
Merge branch 'autobahn-suite' of https://github.com/klaar/cowboy
...
This needs python2 to be the default python in /usr/bin/python.
2012-01-31 12:17:29 +01:00
Loïc Hoguin
e927a8228b
Pass --no_native option to dialyzer to improve dialyzing times
...
Goes from 36s to 24s on my laptop.
2012-01-31 08:49:25 +01:00
Magnus Klaar
8808825173
Add Autobahn test suite for websockets
...
We're using the existing test suite for websocket servers from the
Autobahn project to verify that out websockets implementation is
sane. A CT test suite and python module wrapping the test suite has
been added. The test suite is run when the 'make inttests' target
is executed.
2012-01-25 12:10:05 +01:00
Loïc Hoguin
621411350a
Remove -Wbehaviours dialyzer option unavailable in R15B
2011-12-16 01:26:19 +01:00
Loïc Hoguin
a7a6faf91e
Skip dependencies when running ct tests
2011-12-15 20:47:08 +01:00
Loïc Hoguin
8eb7af0a0b
Skip deps when generating docs
2011-10-05 16:06:50 +02:00
Loïc Hoguin
e5d4c1f22f
Add a PropEr test for cowboy_dispatcher:split_host/1
...
Mostly thanks to Magnus Klaar as it took me a while to figure
out how PropEr tests had to be written.
2011-07-26 10:46:06 +02:00
Loïc Hoguin
fa20273b37
URL decode query strings
...
Should be good for both GET and POST query strings.
This adds https://github.com/klaar/quoted.erl as a dependency.
Props to klaar for this code.
2011-07-20 17:38:10 +02:00
Loïc Hoguin
108a491f55
Add documentation for the public interface.
...
This is probably not perfect yet but it should be better than
nothing. We'll improve things with feedback received from the
many users.
2011-07-06 17:42:20 +02:00
Loïc Hoguin
f03dbf4d06
Use dialyzer directly instead of through rebar
...
Rebar recently removed their dialyzer support options so we're switching
to plain dialyzer. And as a bonus it works much better!
2011-06-21 17:24:07 +02:00
Loïc Hoguin
4e4df58242
Makefile: Clean build the application before starting tests.
2011-05-16 12:16:26 +02:00
Loïc Hoguin
cc663df5db
Makefile: Add separate eunit and ct test rules.
2011-05-04 11:50:46 +02:00
Loïc Hoguin
3a776b146e
Initial work on a ct test suite for the HTTP protocol.
...
Handles two basic tests for both HTTP and HTTPS.
Also renames 'make test' into 'make tests'.
2011-04-08 16:30:37 +02:00
Loïc Hoguin
17613e5305
Add a dialyze verb to the Makefile for convenience.
2011-04-03 16:07:27 +02:00
Loïc Hoguin
d51170b4bc
Use rebar instead of ./rebar by default in the Makefile.
2011-04-03 16:00:22 +02:00
Hans Ulrich Niedermann
07413113d5
Makefile: Use a REBAR variable
...
Using a REBAR variable makes it easy for the user to override
the REBAR to be called.
2011-03-23 10:54:09 +01:00
Loïc Hoguin
da72255940
Initial commit.
2011-03-17 00:29:35 +01:00