Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/eggjs/supertest

Super-agent driven library for testing node.js HTTP servers using a fluent API
https://github.com/eggjs/supertest

Adds tests for truthy error throws #144

92f00d2bff78ae70b2ade5c3c424752361e07adb authored over 10 years ago by Lawrence Jones <[email protected]>
Modifies expect to not throw error unless real error #144

The previous behaviour of expect was to throw any returned truthy values
as an error, to be pass...

e2d7fcc9a0e8a07fd51f9cef584ad00a317186dc authored over 10 years ago by Lawrence Jones <[email protected]>
Release 0.13.0

f3220748ed97c835fd3fe2c779410d8367bf6595 authored over 10 years ago by Garrett Johnson <[email protected]>
Pin devDependencies to exact versions

98be7033885ccb3a5bd3818f43824c64ebcf6396 authored over 10 years ago by Garrett Johnson <[email protected]>
Merge branch 'benesch-master'

09be6f2914810cc7534d63f44bdd3df9aea9cd4a authored over 10 years ago by Garrett Johnson <[email protected]>
Fix global leaks

5c0347ea6452b174f0c6a29a8a54d0f4137c1373 authored over 10 years ago by Garrett Johnson <[email protected]>
Add global leak checking

ffad4522d36ff96e64679512e89bff695abea30c authored over 10 years ago by Garrett Johnson <[email protected]>
Style nitpick

4fe224b75aaff9008f4c7fd52ae29fd1b4a98a68 authored over 10 years ago by Garrett Johnson <[email protected]>
.end: wait for server to close before invoking callback

If a server was spawned, wait for it to close before invoking .end's
callback. This allows the c...

1b63fb6aa74fd7b6ffc2125bcdfd4b59032de9f4 authored over 10 years ago by Nikhil Benesch <[email protected]>
Release 0.12.1

b37bd593435e428733269577d58ec71153c681c9 authored over 10 years ago by Garrett Johnson <[email protected]>
Update methods dependency

743f62a508e27c2579633238795e52f1747db0e9 authored over 10 years ago by Garrett Johnson <[email protected]>
Merge pull request #133 from sjonnet19/patch-1

Increment SuperAgent 0.18.0

462b3c9e5b95972c37dbaad65791a401ba60abbc authored over 10 years ago by Garrett Johnson <[email protected]>
Increment SuperAgent 0.18.0

735e0b72d8278d39aa39f700cc99f59aa51169b8 authored over 10 years ago by Shawn Jonnet <[email protected]>
Merge pull request #120 from KrisSiegel/master

Support for .delete()

b3f02e96c2cd3157a64e444f7b1b9ea9e80f1f45 authored over 10 years ago by Garrett Johnson <[email protected]>
Release 0.11.0

9ec267d6bf3be433e607799801e27ca615a1b502 authored over 10 years ago by Garrett Johnson <[email protected]>
Test delete() in addition to del()

70a01d6f0665cee53814a8193ee30f859686fdab authored over 10 years ago by Garrett Johnson <[email protected]>
Access delete with brackets

a6d8f280471e95774086244772350671afd8dd6e authored over 10 years ago by Garrett Johnson <[email protected]>
Moved usage of 'del' to support the proper http verb 'delete'; left support for legacy 'del'. Added necessary unit tests.

87412836488a4ccab97abe8b5ac5cd4338aeb5a3 authored almost 11 years ago by Kris Siegel <[email protected]>
Merge pull request #119 from invernizzie/master

Close server after test has ended.

b298d6fe0d0f9469629f0718c02328614e90a03f authored almost 11 years ago by Garrett Johnson <[email protected]>
Test for closing server in .end(fn).

fc3b291ff1cc500c4074ca98027168d18efac065 authored almost 11 years ago by Esteban <[email protected]>
close http.Server after test ended

running a > 100 tests using supertest I had the problem that the socket hang up.

Error: socket ...

81ec991e7f221067982d028dd2c4d9c3052aac81 authored almost 11 years ago by Christian Ranz <[email protected]>
Release 0.10.0

fde36d63df8e90cc2c30510ac1617122512a3dbe authored almost 11 years ago by Garrett Johnson <[email protected]>
Assert bodies before status

884b01f06dfe864918c940ad588a51fb80e4d285 authored almost 11 years ago by Garrett Johnson <[email protected]>
Merge pull request #106 from swang/master

Allow numbers to be used for asserting headers

3e117d23ae5e8b9385576ac7bebfeedb454aad05 authored almost 11 years ago by Garrett Johnson <[email protected]>
Merge pull request #102 from aybnetwork/persist-request-doc

How to persist a request

a0cf5e955f05a39bdc94d98fc4e2401397805d9a authored almost 11 years ago by Garrett Johnson <[email protected]>
Pin versions

9f98f12ff8f0d1915b761becb3bbfdac697be2ef authored almost 11 years ago by Garrett Johnson <[email protected]>
Release 0.9.1

37628a2027e7ff1d22e3c19db1ffc3f86f4c924a authored almost 11 years ago by Garrett Johnson <[email protected]>
Merge pull request #107 from jamielinux/license

Add LICENSE

eead083f4346f3fe7d0f5cbeb89d7280e041a4a3 authored almost 11 years ago by Garrett Johnson <[email protected]>
Add LICENSE

3768ac43bf9c25c38caac6f3c3d0f460862da003 authored almost 11 years ago by Jamie Nguyen <[email protected]>
Allow numbers to be used for asserting headers

This change allows a number to be used as the second parameter
(value) when asserting headers us...

5c2bdbacfee791bf815df94d4f78ad38764ea8d0 authored almost 11 years ago by Shuan Wang <[email protected]>
Update travis with supported versions

28796910d48fe96eee8c88175ce2c99b1a26d40e authored almost 11 years ago by Garrett Johnson <[email protected]>
How to persist a request

A lot of people don't know how to persist a request,
we have introduced an example that shows ho...

6444930cd5b9a64bd531de1f047ad73d67d8113d authored almost 11 years ago by aybnetwork <[email protected]>
Release 0.9.0

a8e5596cc94e97e2b937792853c498cae4ca6764 authored almost 11 years ago by TJ Holowaychuk <[email protected]>
fix test formatting from the last commit

d953dd23fc36eebc85f78f4f760d14004497eacf authored almost 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #87 from SidekickJS/function-assertions

add expect(function(res) {}) syntax

574099b778f3c05845e34e1e94d3b09dd7c3b806 authored almost 11 years ago by TJ Holowaychuk <[email protected]>
add expect(function(res) {}) syntax

The ability to add a function assertion makes it easy to create
reusable assertions (and simple ...

00dad1bf84896f8a610b028dcbd81ce2e53779fb authored almost 11 years ago by Tim Ruffles <[email protected]>
Release 0.8.3

57fb7b9e02b7e9a8fdacf26f63f473f7f90ee5d7 authored almost 11 years ago by Garrett Johnson <[email protected]>
update superagent version

140840d4f7df3a64e02c03d86f26877855468497 authored almost 11 years ago by Garrett Johnson <[email protected]>
Merge pull request #90 from visionmedia/add/tls-reject-unauthorized

ignore cert errors for tests

abb5bfc755fe27f0f1d9fccf3f72d23ddd692614 authored about 11 years ago by TJ Holowaychuk <[email protected]>
ignore cert errors for tests

1bb748780a6eae29a1dbf55fb4ed27106e42e578 authored about 11 years ago by Garrett Johnson <[email protected]>
Merge pull request #86 from bajtos/this-in-end-callback

Pass `this` to end() callbacks

e2b64b520ae417f1ae61811b488f10a38c08c73d authored about 11 years ago by Garrett Johnson <[email protected]>
Pass `this` to end() callbacks

The change allows developer to access the `Test` object and its
properties like `url` from the c...

205943673154b02fc71246874f5e1b2cce3ee53b authored about 11 years ago by Miroslav Bajtos <[email protected]>
Release 0.8.2

bb58af19d41f15799421badb4fcac6e80689bae2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
merge

661c0910e3816cd2e9a331a07d3c8837ff07113c authored about 11 years ago by TJ Holowaychuk <[email protected]>
update superagent. Closes #85

cfb0a1d0804cce0e39f26f1518d975a6db269878 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Release 0.8.1

487dd23e85cfcbff3116038b73600f7e5fcf794b authored about 11 years ago by Garrett Johnson <[email protected]>
Merge pull request #82 from jonathanong/patch-1

bump node-methods

d92d7339617c943a8553b81ac4c60b2f8036e856 authored about 11 years ago by Garrett Johnson <[email protected]>
bump node-methods

f9991603c5a9c1875f24096fe4e52c11640ed428 authored about 11 years ago by Jonathan Ong <[email protected]>
Merge pull request #79 from menzoic/patch-1

Update Readme.md

7d5d3488c73ba212de3960255a8ef1507aae8c53 authored about 11 years ago by Garrett Johnson <[email protected]>
Update Readme.md

The request results in a resource being returned so 200 is more appropriate rather than 201 whic...

bc749b929d72f5752060c8df6d8105c1e7046079 authored about 11 years ago by Esco Obong <[email protected]>
Merge pull request #73 from repoify/add/repository

Add repository field to readme

25a7205a0d609ecbb9429adabbfa30f98ba2b5ae authored over 11 years ago by TJ Holowaychuk <[email protected]>
add repository field to readme

7463f81f35d28254d28c9c68ac4a65b003b6be82 authored over 11 years ago by Forbes Lindesay <[email protected]>
Release 0.8.0

d5596d57b8527eac652cb2161d545aadf4e427cf authored over 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #70 from louissobel/multiple-expects-per-header

Multiple expects per header

a99a3ce55577f088de2e22f00644657865b75d6b authored over 11 years ago by TJ Holowaychuk <[email protected]>
Add ability for multiple assertions per header

6b28db7b28a8e09c86e23613002f9bb92478229a authored over 11 years ago by Louis Sobel <[email protected]>
add tests

65f68539769288196a5fbbb755387a7076fb7ae3 authored over 11 years ago by Louis Sobel <[email protected]>
Release 0.7.1

18bcf6e365542ea5c6d7696dd27c065d4e983193 authored over 11 years ago by TJ Holowaychuk <[email protected]>
update superagent

051e05f00dc21b4e87afbdaaec2a4f4afe37fa9f authored over 11 years ago by TJ Holowaychuk <[email protected]>
Release 0.7.0

df9d031b925ddc0b6f5cf6ed4cf9678f1957a779 authored over 11 years ago by TJ Holowaychuk <[email protected]>
add error properties so test frameworks can show diffs etc. Closes #65

7ff1f5386e44949acb9196cded64b63b3c694906 authored over 11 years ago by TJ Holowaychuk <[email protected]>
Release 0.6.1

275478029b0be15b7e2163fd7347dd77475c00d5 authored over 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #63 from eldargab/socket_errors

fix: handling of socket errors

9530cef87113d62fccb858cc043f3fa145e16708 authored over 11 years ago by TJ Holowaychuk <[email protected]>
fix port ref in last commit

f5964cd3f2c6f936603006a77a02a1cfdc091b04 authored over 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #64 from calebcase/feature/random-port

Use a random unused port.

351b00b891a5574ed0ced18e218dcf644da24655 authored over 11 years ago by TJ Holowaychuk <[email protected]>
fix: handling of socket errors

f5ddaabc85e5ba22c334767b8982b06712a277d3 authored over 11 years ago by Eldar Gabdullin <[email protected]>
Use a random unused port.

In situations where supertest is run multiple times in parallel on the
same host EADDRINUSE can ...

ebebf19150ff8e051d0486107e83db1f311ac230 authored over 11 years ago by Caleb Case <[email protected]>
Merge pull request #59 from sebs/master

Travis CI Tests

7aa15f12d57dca8ece43448ea4a011977689a2e7 authored over 11 years ago by TJ Holowaychuk <[email protected]>
Added 0.90

bf3ad25a0363f93cc6941431eca1f397c28274b2 authored over 11 years ago by Sebastian Schürmann <[email protected]>
Removing 0.90

48a8f7d4285561b741e970c23d1649661fedd28e authored over 11 years ago by Sebastian Schürmann <[email protected]>
Added travis ci config

1afd2d5d69669ad7abdbc78ab25c763ca27f2485 authored over 11 years ago by Sebastian Schürmann <[email protected]>
Release 0.6.0

e05d9babe80237cc34f286830c1463d88454625b authored over 11 years ago by TJ Holowaychuk <[email protected]>
ocd

d4b2ce405bd2a7bf0fb4a34cc6f6bad7fa283f4a authored over 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #54 from Arxisos/master

Added request.agent(app) support

c6d2fad2c68d4198b0d52b7b7c309efcf50e5558 authored over 11 years ago by TJ Holowaychuk <[email protected]>
Expose `Test` to enable extensibility

0956c371864b813e105ed5a6921d3cd98372ee72 authored almost 12 years ago by Steffen Müller <[email protected]>
Added request.agent(app) support

da69243eaa8350fbe5412c284c8c900f85d93e12 authored almost 12 years ago by Steffen Müller <[email protected]>
Updated express dependency

c1012866f908994014b9ace40738c11feea97b1c authored almost 12 years ago by Steffen Müller <[email protected]>
fix docs

2bf57260804063ad778cbce5d0d02093dfbe4eec authored about 12 years ago by TJ Holowaychuk <[email protected]>
add request(url) test. Closes #33

2c66d3113183db163f6d280f22ed35d24a90e0f4 authored about 12 years ago by TJ Holowaychuk <[email protected]>
Release 0.5.1

85150ca1c398b53168290eca58989eb655a57dd7 authored about 12 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #40 from eldargab/fix

.expect(status) should assert only status

490d246f40bea0763a23ba218c1fea7905e4f7b1 authored about 12 years ago by TJ Holowaychuk <[email protected]>
.expect(status) should assert only status

758db358efefd0cbded26e7ef1dfe5ffb0074294 authored about 12 years ago by Eldar Gabdullin <[email protected]>
Release 0.5.0

8672459f664264ac2aa28bec76e2432434bc5b3f authored about 12 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #38 from fengmk2/testcase-for-issue37

add a test that doesn't pass an exception

b90c18de6df28ee4753217d9294a05dc8020afb0 authored about 12 years ago by TJ Holowaychuk <[email protected]>
add a test that doesn't pass an exception

ba41335ad0fee69aa4a2953bc4e9eaee0ac30c66 authored about 12 years ago by fengmk2 <[email protected]>
Merge pull request #37 from fengmk2/support-expect-many

assert response body multiple times

bd8417201a0189fedf21882340fee7b9cb9b5ec2 authored about 12 years ago by TJ Holowaychuk <[email protected]>
assert response body multiple times

9e2d3cb93416e10f344bf4b946854ce3f981552f authored about 12 years ago by fengmk2 <[email protected]>
Release 0.4.2

6d1e7b6bdb5ed9cf568b6f0b63571e1656519ef2 authored about 12 years ago by TJ Holowaychuk <[email protected]>
add .buffer() so that responses with no content-length are testable. closes #36

2defecb5108c555f0ac1e4e6ee10d2e722cda4c1 authored about 12 years ago by TJ Holowaychuk <[email protected]>
add failing test for #36

46efc8123e2a1e734806d8915e80610fe2b03dbf authored about 12 years ago by TJ Holowaychuk <[email protected]>
update superagent

7c9363563c3927f429b2d3844630af35e81d0879 authored about 12 years ago by TJ Holowaychuk <[email protected]>
Release 0.4.1

28c939b00f3714c316b73d00640628a8b7de833b authored about 12 years ago by TJ Holowaychuk <[email protected]>
update superagent

903cfa07ac2e88aaf50c8265fcea8339c0ecb8d9 authored about 12 years ago by TJ Holowaychuk <[email protected]>
add docs for url

b00199684dfb166b7aaa563b37a150cd78e41d49 authored about 12 years ago by TJ Holowaychuk <[email protected]>
Release 0.4.0

50a6a15fb5192c5582374e3932cff30ec1cdce60 authored about 12 years ago by TJ Holowaychuk <[email protected]>
ocd

9d08f4fa6850f37b1519d2310be1307cf3facef4 authored about 12 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #29 from vesln/remote-servers

Add support for remote servers

e70506dc7a465798433812cd4dabe07267b25322 authored about 12 years ago by TJ Holowaychuk <[email protected]>
Fix some issues with node 0.6

3acea5388a1cf4d3df40969a72920846bb7b2afc authored about 12 years ago by Veselin Todorov <[email protected]>
Add support for remote servers

f481cfb27d44ea3136bbdf663d7a9ac0407c53ec authored about 12 years ago by Veselin Todorov <[email protected]>
Merge pull request #28 from petejkim/patch-1

corrected error in attach() example in readme.md

d4cedb0ed7ad80ebfc235edf091792575862110a authored about 12 years ago by TJ Holowaychuk <[email protected]>
Update Readme.md

.attach() expects field name followed by filename

ff38163231d858fb67ba2ae51328392c75e0bd40 authored about 12 years ago by Peter Jihoon Kim <[email protected]>