esp-idf/components/tcp_transport/host_test
David Cermak a4a1e7b7f2 feat(transport): Add more testcases for ws-connect to fail
Test case "ws connect fails (big response)" should fail on this commit
due to an off-by-one issue in ws_connect() read when chunk reading
http header(s).

Related to https://github.com/espressif/esp-idf/issues/14473
2024-09-17 18:09:21 +02:00
..
components/mocked_transport [tcp_transport] - Adds Socks4 proxy transport 2023-03-27 14:46:40 +02:00
main feat(transport): Add more testcases for ws-connect to fail 2024-09-17 18:09:21 +02:00
CMakeLists.txt [tcp_transport] - Adds Socks4 proxy transport 2023-03-27 14:46:40 +02:00
README.md [tcp_transport] - Adds Socks4 proxy transport 2023-03-27 14:46:40 +02:00
sdkconfig.defaults [tcp_transport] - Adds Socks4 proxy transport 2023-03-27 14:46:40 +02:00

Supported Targets Linux

Description

This directory contains test code for tcp_transport that runs on host.

Tests are written using Catch2 test framework

Build

Tests build regularly like an idf project.

idf.py build

Run

The build produces an executable in the build folder.

Just run:

./build/host_tcp_transport_test.elf

The test executable have some options provided by the test framework.