Matt Bonneau
58b29fb4a3
Correct resolve on deferred in test runner
2024-12-03 13:12:56 -05:00
Michael Babker
fd5a6a86a8
Use latest PHPUnit and modernize test code
2021-12-12 12:35:25 -06:00
Chris Boden
a5ea315fe1
Merge pull request #52 from ratchetphp/updated-docker
...
Updated docker
2021-12-09 16:30:35 -05:00
Chris Boden
edd5ca364b
Merge branch 'master' into updated-docker
2021-12-08 09:12:39 -05:00
Simon Frings
30f6b14634
Fix docker command to run server tests with GitHub actions
2021-12-08 08:53:53 +01:00
Chris Boden
0473a4c224
Merge branch 'master' into v0.3.1
2021-12-07 10:27:26 -05:00
Simon Frings
2b9a7d812e
Use GitHub actions for continuous integration (CI)
2021-12-07 11:59:03 +01:00
Chris Boden
1c6e6ed087
Rever use of host.docker.internal
...
It's only supported on macOS
2021-12-05 17:04:01 -05:00
Chris Boden
d5c0684ab4
Update AB test runners
...
Use variable to connect in clientRunner
Use new(ish) `host.docker.internal` address provided by Docker to connect to host machine
Run client tests port 9002 so suites can be run concurrently
2021-12-05 11:58:52 -05:00
Erik Niebla
b6eebb555b
Support for PSR7 2.x
2021-12-01 13:59:17 +00:00
Matt Bonneau
5911d8bc35
Bump test agent version
2020-05-07 10:46:40 -04:00
Matt Bonneau
cdb37b17a4
Separate travis server and client tests
2020-04-11 19:31:44 -04:00
Matt Bonneau
14fdcbb84e
More travis adjustments
2020-04-10 14:03:21 -04:00
Matt Bonneau
5c15dd0a2f
Try to get IP address sorted out for travis
2020-04-10 13:15:49 -04:00
Matt Bonneau
1a4fa37f06
Fix fuzzingclient_skip_deflate host name
2020-04-09 18:07:42 -04:00
Matt Bonneau
5cdc4478f7
Correct output path on fuzzingclient config
2020-04-09 17:49:52 -04:00
Matt Bonneau
7ef269aca1
Have travis use docker for wstest while testing
2020-04-09 17:39:37 -04:00
Matt Bonneau
1cb14114c3
Change how disabled/supported/enabled is handled for deflate
2020-03-10 09:26:05 -04:00
Matt Bonneau
1af7e998b3
Merge branch 'master' into permessage-deflate
...
# Conflicts:
# src/Messaging/MessageBuffer.php
# tests/ab/clientRunner.php
# tests/ab/run_ab_tests.sh
# tests/ab/startServer.php
2020-01-22 00:36:05 -05:00
Chris Boden
91af8a76d5
quality of life changes
...
Kill the php server after AB tests are done
Add script runners to composer for ease of use
2019-12-11 10:18:08 -05:00
Matt Bonneau
8944361dbe
Update to latest react/socket and drop react/http for tests
2019-12-10 19:22:57 -05:00
Matt Bonneau
61ffa6aa2a
Move sender parameter to maintain BC with previous version
2017-10-30 17:01:32 -04:00
Matt Bonneau
c943ee1771
Reduce the number of tests so travis doesn't time out
2017-10-30 17:01:32 -04:00
Matt Bonneau
5f7f53e7eb
Work on php version support and testing
2017-10-30 17:01:32 -04:00
Matt Bonneau
bc16757a61
Fixup version check for permessage-deflate
2017-10-30 17:01:32 -04:00
Matt Bonneau
b84ef8b9ce
Client passes all per message deflate autobahn tests
2017-10-30 17:01:32 -04:00
Matt Bonneau
8eed9e7db2
Server passing tests - client passes most tests - refactoring and API help needed
2017-10-30 17:01:32 -04:00
Matt Bonneau
7280ddcd19
Per-message deflate with options work
2017-10-30 17:01:32 -04:00
Chris Boden
ac4d13cc09
Inject RequestVerfier instead of instantiating
2016-02-15 17:03:10 -05:00
Chris Boden
e75c843fc9
Rename Negotiator -> ServerNegotiator for consistence
2016-02-10 17:56:28 -05:00
Chris Boden
3b717eb5b8
Documentation updates
2016-02-10 10:24:33 -05:00
Chris Boden
60ce5e00ff
Renamed some classes, less depth
2016-02-08 22:21:56 -05:00
Chris Boden
cd89941a49
Formatting
2016-02-08 07:55:35 -05:00
Chris Boden
affba40d16
Client refactor
...
Class is now re-entrant instead of keeping state
Remove non-specified default RFC headers
Accept strict URI type to cut down on error handling
2016-02-07 13:40:38 -05:00
Chris Boden
59a30c3b72
Replace slow validator with preg_match UTF8 check
2016-01-12 20:44:07 -05:00
Chris Boden
4f15d6558e
Try to fix travis build
2016-01-10 10:54:32 -05:00
Chris Boden
35fa78c0c1
Cleanup test automation
2016-01-10 10:42:48 -05:00
matt
c31bea9f30
Fixup tests for new MessageStreamer
2015-12-26 14:31:45 -05:00
Chris Boden
1579666238
Accept exception factory for performance gains
2015-12-22 21:11:46 -05:00
Chris Boden
3c3588fc8b
MessageStreamer refactor
...
Remove notion of context and nested callbacks
Each connection will create an instance of MessageParser to hold message/frame state
2015-12-22 20:16:55 -05:00
Chris Boden
06263cd9a5
Reverse the order of context to make optional
2015-06-04 23:20:05 -04:00
Chris Boden
59464f855c
Replace ContextInterface with callable's
...
Replace ContextInterface with callable's
Move message/frame validation back into streamer
Always return frame objects from check
Move close code validation to validator, not base element
2015-06-01 22:39:17 -04:00
Chris Boden
5cdd8959dc
Refactoring
...
onMessage delivers unMaked payload
msg validation moved from Message to MessageValidation
Unify return types
Context return should be input
Remove deprecated Connection
2015-05-30 23:27:02 -04:00
Chris Boden
af15a56cb4
Custom error responses for failed handshake
...
Including React SocketClient for client tests
Use re-entrants in test server
2015-05-26 19:07:26 -04:00
matt
f1451e0bd8
Fixed issue with client tests
2015-05-24 23:50:02 -04:00
matt
6676b05d02
Client tests using ContextInterface
2015-05-24 19:50:51 -04:00
Chris Boden
1c6a486e8a
Fixed failing UTF-8 tests, increased performance
2015-05-24 11:12:59 -04:00
Chris Boden
791ebaeb24
Replace evenement with callback interface
...
Use strict ContextInterface instead of event emitter
Keep message/frame within connection, not parser
Expect only 1 of specific WebSocket headers
Non-UTF-8 server tests passing :-)
2015-05-23 12:29:05 -04:00
matt
c2a51b62ef
Passing Autobahn tests (except compression)
2015-03-18 11:12:11 -04:00
matt
9890a8d7e1
Client side tests and components
2015-03-16 16:23:01 -04:00