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
92f00d2bff78ae70b2ade5c3c424752361e07adb authored over 10 years ago by Lawrence Jones <[email protected]>
The previous behaviour of expect was to throw any returned truthy values
as an error, to be pass...
f3220748ed97c835fd3fe2c779410d8367bf6595 authored over 10 years ago by Garrett Johnson <[email protected]>
98be7033885ccb3a5bd3818f43824c64ebcf6396 authored over 10 years ago by Garrett Johnson <[email protected]>
09be6f2914810cc7534d63f44bdd3df9aea9cd4a authored over 10 years ago by Garrett Johnson <[email protected]>
5c0347ea6452b174f0c6a29a8a54d0f4137c1373 authored over 10 years ago by Garrett Johnson <[email protected]>
ffad4522d36ff96e64679512e89bff695abea30c authored over 10 years ago by Garrett Johnson <[email protected]>
4fe224b75aaff9008f4c7fd52ae29fd1b4a98a68 authored over 10 years ago by Garrett Johnson <[email protected]>
If a server was spawned, wait for it to close before invoking .end's
callback. This allows the c...
b37bd593435e428733269577d58ec71153c681c9 authored over 10 years ago by Garrett Johnson <[email protected]>
743f62a508e27c2579633238795e52f1747db0e9 authored over 10 years ago by Garrett Johnson <[email protected]>
Increment SuperAgent 0.18.0
462b3c9e5b95972c37dbaad65791a401ba60abbc authored over 10 years ago by Garrett Johnson <[email protected]>735e0b72d8278d39aa39f700cc99f59aa51169b8 authored over 10 years ago by Shawn Jonnet <[email protected]>
Support for .delete()
b3f02e96c2cd3157a64e444f7b1b9ea9e80f1f45 authored over 10 years ago by Garrett Johnson <[email protected]>9ec267d6bf3be433e607799801e27ca615a1b502 authored over 10 years ago by Garrett Johnson <[email protected]>
70a01d6f0665cee53814a8193ee30f859686fdab authored over 10 years ago by Garrett Johnson <[email protected]>
a6d8f280471e95774086244772350671afd8dd6e authored over 10 years ago by Garrett Johnson <[email protected]>
87412836488a4ccab97abe8b5ac5cd4338aeb5a3 authored almost 11 years ago by Kris Siegel <[email protected]>
Close server after test has ended.
b298d6fe0d0f9469629f0718c02328614e90a03f authored almost 11 years ago by Garrett Johnson <[email protected]>fc3b291ff1cc500c4074ca98027168d18efac065 authored almost 11 years ago by Esteban <[email protected]>
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]>fde36d63df8e90cc2c30510ac1617122512a3dbe authored almost 11 years ago by Garrett Johnson <[email protected]>
884b01f06dfe864918c940ad588a51fb80e4d285 authored almost 11 years ago by Garrett Johnson <[email protected]>
Allow numbers to be used for asserting headers
3e117d23ae5e8b9385576ac7bebfeedb454aad05 authored almost 11 years ago by Garrett Johnson <[email protected]>How to persist a request
a0cf5e955f05a39bdc94d98fc4e2401397805d9a authored almost 11 years ago by Garrett Johnson <[email protected]>9f98f12ff8f0d1915b761becb3bbfdac697be2ef authored almost 11 years ago by Garrett Johnson <[email protected]>
37628a2027e7ff1d22e3c19db1ffc3f86f4c924a authored almost 11 years ago by Garrett Johnson <[email protected]>
Add LICENSE
eead083f4346f3fe7d0f5cbeb89d7280e041a4a3 authored almost 11 years ago by Garrett Johnson <[email protected]>3768ac43bf9c25c38caac6f3c3d0f460862da003 authored almost 11 years ago by Jamie Nguyen <[email protected]>
This change allows a number to be used as the second parameter
(value) when asserting headers us...
28796910d48fe96eee8c88175ce2c99b1a26d40e authored almost 11 years ago by Garrett Johnson <[email protected]>
A lot of people don't know how to persist a request,
we have introduced an example that shows ho...
a8e5596cc94e97e2b937792853c498cae4ca6764 authored almost 11 years ago by TJ Holowaychuk <[email protected]>
d953dd23fc36eebc85f78f4f760d14004497eacf authored almost 11 years ago by TJ Holowaychuk <[email protected]>
add expect(function(res) {}) syntax
574099b778f3c05845e34e1e94d3b09dd7c3b806 authored almost 11 years ago by TJ Holowaychuk <[email protected]>
The ability to add a function assertion makes it easy to create
reusable assertions (and simple ...
57fb7b9e02b7e9a8fdacf26f63f473f7f90ee5d7 authored almost 11 years ago by Garrett Johnson <[email protected]>
140840d4f7df3a64e02c03d86f26877855468497 authored almost 11 years ago by Garrett Johnson <[email protected]>
ignore cert errors for tests
abb5bfc755fe27f0f1d9fccf3f72d23ddd692614 authored about 11 years ago by TJ Holowaychuk <[email protected]>1bb748780a6eae29a1dbf55fb4ed27106e42e578 authored about 11 years ago by Garrett Johnson <[email protected]>
Pass `this` to end() callbacks
e2b64b520ae417f1ae61811b488f10a38c08c73d authored about 11 years ago by Garrett Johnson <[email protected]>
The change allows developer to access the `Test` object and its
properties like `url` from the c...
bb58af19d41f15799421badb4fcac6e80689bae2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
661c0910e3816cd2e9a331a07d3c8837ff07113c authored about 11 years ago by TJ Holowaychuk <[email protected]>
cfb0a1d0804cce0e39f26f1518d975a6db269878 authored about 11 years ago by TJ Holowaychuk <[email protected]>
487dd23e85cfcbff3116038b73600f7e5fcf794b authored about 11 years ago by Garrett Johnson <[email protected]>
bump node-methods
d92d7339617c943a8553b81ac4c60b2f8036e856 authored about 11 years ago by Garrett Johnson <[email protected]>f9991603c5a9c1875f24096fe4e52c11640ed428 authored about 11 years ago by Jonathan Ong <[email protected]>
Update Readme.md
7d5d3488c73ba212de3960255a8ef1507aae8c53 authored about 11 years ago by Garrett Johnson <[email protected]>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]>Add repository field to readme
25a7205a0d609ecbb9429adabbfa30f98ba2b5ae authored over 11 years ago by TJ Holowaychuk <[email protected]>7463f81f35d28254d28c9c68ac4a65b003b6be82 authored over 11 years ago by Forbes Lindesay <[email protected]>
d5596d57b8527eac652cb2161d545aadf4e427cf authored over 11 years ago by TJ Holowaychuk <[email protected]>
Multiple expects per header
a99a3ce55577f088de2e22f00644657865b75d6b authored over 11 years ago by TJ Holowaychuk <[email protected]>6b28db7b28a8e09c86e23613002f9bb92478229a authored over 11 years ago by Louis Sobel <[email protected]>
65f68539769288196a5fbbb755387a7076fb7ae3 authored over 11 years ago by Louis Sobel <[email protected]>
18bcf6e365542ea5c6d7696dd27c065d4e983193 authored over 11 years ago by TJ Holowaychuk <[email protected]>
051e05f00dc21b4e87afbdaaec2a4f4afe37fa9f authored over 11 years ago by TJ Holowaychuk <[email protected]>
df9d031b925ddc0b6f5cf6ed4cf9678f1957a779 authored over 11 years ago by TJ Holowaychuk <[email protected]>
7ff1f5386e44949acb9196cded64b63b3c694906 authored over 11 years ago by TJ Holowaychuk <[email protected]>
275478029b0be15b7e2163fd7347dd77475c00d5 authored over 11 years ago by TJ Holowaychuk <[email protected]>
fix: handling of socket errors
9530cef87113d62fccb858cc043f3fa145e16708 authored over 11 years ago by TJ Holowaychuk <[email protected]>f5964cd3f2c6f936603006a77a02a1cfdc091b04 authored over 11 years ago by TJ Holowaychuk <[email protected]>
Use a random unused port.
351b00b891a5574ed0ced18e218dcf644da24655 authored over 11 years ago by TJ Holowaychuk <[email protected]>f5ddaabc85e5ba22c334767b8982b06712a277d3 authored over 11 years ago by Eldar Gabdullin <[email protected]>
In situations where supertest is run multiple times in parallel on the
same host EADDRINUSE can ...
Travis CI Tests
7aa15f12d57dca8ece43448ea4a011977689a2e7 authored over 11 years ago by TJ Holowaychuk <[email protected]>bf3ad25a0363f93cc6941431eca1f397c28274b2 authored over 11 years ago by Sebastian Schürmann <[email protected]>
48a8f7d4285561b741e970c23d1649661fedd28e authored over 11 years ago by Sebastian Schürmann <[email protected]>
1afd2d5d69669ad7abdbc78ab25c763ca27f2485 authored over 11 years ago by Sebastian Schürmann <[email protected]>
e05d9babe80237cc34f286830c1463d88454625b authored over 11 years ago by TJ Holowaychuk <[email protected]>
d4b2ce405bd2a7bf0fb4a34cc6f6bad7fa283f4a authored over 11 years ago by TJ Holowaychuk <[email protected]>
Added request.agent(app) support
c6d2fad2c68d4198b0d52b7b7c309efcf50e5558 authored over 11 years ago by TJ Holowaychuk <[email protected]>0956c371864b813e105ed5a6921d3cd98372ee72 authored almost 12 years ago by Steffen Müller <[email protected]>
da69243eaa8350fbe5412c284c8c900f85d93e12 authored almost 12 years ago by Steffen Müller <[email protected]>
c1012866f908994014b9ace40738c11feea97b1c authored almost 12 years ago by Steffen Müller <[email protected]>
2bf57260804063ad778cbce5d0d02093dfbe4eec authored about 12 years ago by TJ Holowaychuk <[email protected]>
2c66d3113183db163f6d280f22ed35d24a90e0f4 authored about 12 years ago by TJ Holowaychuk <[email protected]>
85150ca1c398b53168290eca58989eb655a57dd7 authored about 12 years ago by TJ Holowaychuk <[email protected]>
.expect(status) should assert only status
490d246f40bea0763a23ba218c1fea7905e4f7b1 authored about 12 years ago by TJ Holowaychuk <[email protected]>758db358efefd0cbded26e7ef1dfe5ffb0074294 authored about 12 years ago by Eldar Gabdullin <[email protected]>
8672459f664264ac2aa28bec76e2432434bc5b3f authored about 12 years ago by TJ Holowaychuk <[email protected]>
add a test that doesn't pass an exception
b90c18de6df28ee4753217d9294a05dc8020afb0 authored about 12 years ago by TJ Holowaychuk <[email protected]>ba41335ad0fee69aa4a2953bc4e9eaee0ac30c66 authored about 12 years ago by fengmk2 <[email protected]>
assert response body multiple times
bd8417201a0189fedf21882340fee7b9cb9b5ec2 authored about 12 years ago by TJ Holowaychuk <[email protected]>9e2d3cb93416e10f344bf4b946854ce3f981552f authored about 12 years ago by fengmk2 <[email protected]>
6d1e7b6bdb5ed9cf568b6f0b63571e1656519ef2 authored about 12 years ago by TJ Holowaychuk <[email protected]>
2defecb5108c555f0ac1e4e6ee10d2e722cda4c1 authored about 12 years ago by TJ Holowaychuk <[email protected]>
46efc8123e2a1e734806d8915e80610fe2b03dbf authored about 12 years ago by TJ Holowaychuk <[email protected]>
7c9363563c3927f429b2d3844630af35e81d0879 authored about 12 years ago by TJ Holowaychuk <[email protected]>
28c939b00f3714c316b73d00640628a8b7de833b authored about 12 years ago by TJ Holowaychuk <[email protected]>
903cfa07ac2e88aaf50c8265fcea8339c0ecb8d9 authored about 12 years ago by TJ Holowaychuk <[email protected]>
b00199684dfb166b7aaa563b37a150cd78e41d49 authored about 12 years ago by TJ Holowaychuk <[email protected]>
50a6a15fb5192c5582374e3932cff30ec1cdce60 authored about 12 years ago by TJ Holowaychuk <[email protected]>
9d08f4fa6850f37b1519d2310be1307cf3facef4 authored about 12 years ago by TJ Holowaychuk <[email protected]>
Add support for remote servers
e70506dc7a465798433812cd4dabe07267b25322 authored about 12 years ago by TJ Holowaychuk <[email protected]>3acea5388a1cf4d3df40969a72920846bb7b2afc authored about 12 years ago by Veselin Todorov <[email protected]>
f481cfb27d44ea3136bbdf663d7a9ac0407c53ec authored about 12 years ago by Veselin Todorov <[email protected]>
corrected error in attach() example in readme.md
d4cedb0ed7ad80ebfc235edf091792575862110a authored about 12 years ago by TJ Holowaychuk <[email protected]>.attach() expects field name followed by filename
ff38163231d858fb67ba2ae51328392c75e0bd40 authored about 12 years ago by Peter Jihoon Kim <[email protected]>