c++ - How to write a test for a network listener? -
i writing piece of c++ code listen network connections. i'm using gtest write unit tests i've reached problem don't know how fix:
how can test functions listen network connections? if put in unit test they'll block.
any ideas?
i'm going use py.test run functional tests, though c++ project.
Comments
Post a Comment