History log of /unit/test/test_node_application.py (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2073:bc6ad31ce286 11-Apr-2022 Andrei Zeliankou

Tests: style.


Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0
# 1971:3410f9d2a662 18-Oct-2021 Andrei Zeliankou

Tests: style.


Revision tags: 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0
# 1876:f85b85094541 24-May-2021 Oisin Canty

Node.js: renamed "require_shim" to "loader".


# 1865:3c551b9721df 12-May-2021 Oisin Canty

Node.js: a shim for overriding "http" and "websocket" modules.

Also added stubs for Server.address()
This was done to prevent crashes in some popular frameworks like express

Supports both CommonJS

Node.js: a shim for overriding "http" and "websocket" modules.

Also added stubs for Server.address()
This was done to prevent crashes in some popular frameworks like express

Supports both CommonJS and the new ES Modules system syntax e.g:

app.js:
const http = require('http')

app.mjs:
import http from "http"

Usage on Node 14.16.x and higher:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--loader",
"unit-http/require_shim.mjs"
"--require",
"unit-http/require_shim",
"app.js"
]
}

Usage on Node 14.15.x and lower:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--require",
"unit-http/require_shim",
"app.js"
]
}

show more ...


# 1848:4bd548074e2c 05-Apr-2021 Andrei Zeliankou

Tests: style.


Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0
# 1771:94cf6c5fafbd 13-Jan-2021 Andrei Zeliankou

Tests: style.


# 1766:9ec17030b67e 29-Dec-2020 Max Romanov

Node.js: ServerRequest and ServerResponse compliance to Stream API.

ServerRequest now inherit stream Readable object. ServerResponse
provides 'writable' property.

Thanks to Wu Jian Ping (@wujjpp).

Node.js: ServerRequest and ServerResponse compliance to Stream API.

ServerRequest now inherit stream Readable object. ServerResponse
provides 'writable' property.

Thanks to Wu Jian Ping (@wujjpp).

This closes #274, closes #317 issues and closes #502 PR on GitHub.

show more ...


# 1735:a0e0d4f90e51 08-Dec-2020 Andrei Zeliankou

Tests: utils module introduced.


Revision tags: 1.21.0-1, 1.21.0
# 1654:fc7d0578e124 19-Oct-2020 Andrei Zeliankou

Tests: fixed unit.log print.


Revision tags: 1.20.0-1, 1.20.0
# 1635:97afbb6c5a15 07-Oct-2020 Andrei Zeliankou

Tests: minor fixes.


# 1596:b7e2d4d92624 16-Sep-2020 Andrei Zeliankou

Tests: migrated to the pytest.


Revision tags: 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0
# 1477:b93d1acf81bd 15-May-2020 Andrei Zeliankou

Tests: style.


# 1467:195fe0a92670 24-Apr-2020 Andrei Zeliankou

Tests: introduced module version specification in prerequisites.


Revision tags: 1.17.0-1, 1.17.0
# 1453:71af60a59338 14-Apr-2020 Andrei Zeliankou

Tests: minor fixes and style.


Revision tags: 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0
# 1295:f60a68728306 26-Nov-2019 Tiago Natel

Tests: parsing of "Transfer-Encoding: chunked" responses.


Revision tags: 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0
# 1165:998b521bbdb8 14-Sep-2019 Andrey Zelenkov

Tests: refactored prerequisites model.


Revision tags: 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0
# 1064:75a64629661f 30-May-2019 Andrey Zelenkov

Tests: adjusted skipping tests.


# 1029:687f7cc7aae2 09-Apr-2019 Andrey Zelenkov

Tests: speed up tests.


# 1025:3469f5185562 09-Apr-2019 Andrey Zelenkov

Tests: simplified module checking.


# 1019:61d90b4da691 28-Mar-2019 Andrey Zelenkov

Tests: unit module refactoring.


# 1017:887a4bbabf1e 26-Mar-2019 Andrey Zelenkov

Tests: style.


Revision tags: 1.8.0-1, 1.8.0
# 970:2f4376c8f358 27-Feb-2019 Andrey Zelenkov

Tests: added "Host" and "Connetion" headers where necessary.

Also minor header organizing.


Revision tags: 1.7.1-1, 1.7.1
# 896:52a353327b3f 25-Dec-2018 Andrey Zelenkov

Tests: test_node_application_write_before_writeHead reworked.

Added res.end() call in application and response status check.
Also, renamed to test_node_application_write_before_write_head.


# 895:9b261bd95690 25-Dec-2018 Andrey Zelenkov

Tests: expectedFailure's removed from test_node_application.py.

Also removed alert skip in test_node_application_write_before_writeHead.

Fixes committed in 1340e3539362, 1e008ef94f43, 5df32621af19,

Tests: expectedFailure's removed from test_node_application.py.

Also removed alert skip in test_node_application_write_before_writeHead.

Fixes committed in 1340e3539362, 1e008ef94f43, 5df32621af19, dae402cb243f
and 41f561b3a178.

show more ...


Revision tags: 1.7-1, 1.7
# 866:e4ff38dba88c 11-Dec-2018 Andrey Zelenkov

Tests: more Node.js tests.


12