Commit bbb7fa2
authored
feat: integration test suite (readmeio#51)
* feat: initial pass at rewriting the integration testing framework
* test: docker tweaks
* style: fixing linting problems
* ci: using optional chaining in tests so don't run them on node 12
* feat: first pass at containerizing node integrations
* feat: making our useObjectBody option the default behavior in node-fetch
* fix: removing multipart/form-data headers from node-fetch when we use FormData
* fix: bug where node request wasn't sending cookies properly
* fix: adding useQuerystring to the node request opts to fix query param arrays
* fix: send the full url instead of `qs` for node request because of double encoding issues
* fix: issues with node axios not sending encoded and query params right
* fix: fixes to the integration tests suite
* fix: promoting the js+fetch useObjectBody option to be the default behavior
* fix: adding the composer autoloader to the top of guzzle snippets
* fix: catch and assert errors when we might be hitting a PROPFIND method
* docs: updating our differences list in the readme
* chore: renaming the `http` fixture to `http-insecure`
* test: setting up the integration tests to run on node, php, and python
* feat: getting the docker container running node tests
* ci: workflow for running node integrations
* ci: moving integration dockerfiles into their own dir
* ci: containerizing php integrations
* ci: no composer files exist to copy
* ci: installing npm deps in the php container so we can run tests
* fix: changing python requests target to use full urls instead of supplying query params
* ci: containerizing python integration tests
* ci: containerizing the curl test suite
* ci: adding a github workflow for the shell integration suite1 parent d40cecd commit bbb7fa2
147 files changed
Lines changed: 618 additions & 418 deletions
File tree
- .github/workflows
- __tests__
- __fixtures__
- output
- clojure/clj_http
- csharp
- httpclient
- restsharp
- c/libcurl
- go/native
- http/1.1
- javascript
- axios
- fetch
- jquery
- xhr
- java
- asynchttp
- nethttp
- okhttp
- unirest
- kotlin/okhttp
- node
- axios
- fetch
- native
- request
- unirest
- objc/nsurlsession
- ocaml/cohttp
- php
- curl
- guzzle
- http1
- http2
- powershell
- restmethod
- webrequest
- python
- python3
- requests
- ruby/native
- r/httr
- shell
- curl
- httpie
- wget
- swift/nsurlsession
- requests
- targets
- javascript
- node
- python
- integrations
- src/targets
- javascript
- node
- php
- python
- shell
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
| |||
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| 152 | + | |
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
| |||
0 commit comments