{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"}],"enrichment":{"capability":"A pytest plugin that runs native async test functions (defined with async def) against Tornado applications, providing fixtures for HTTP server testing and IO loop management.","skillfed_tags":["tornado-testing","async-fixtures"],"use_cases":["Write async test functions for Tornado web handlers without @pytest.mark.gen_test decorators.","Test HTTP endpoints of a Tornado application using http_server_client fixture.","Verify async coroutine behavior in isolation with direct IOLoop access via the io_loop fixture.","Make external HTTP requests in tests using the http_client fixture."],"what_it_does":"pytest-tornasync is a pytest plugin that simplifies testing of Tornado web applications by allowing you to write test functions as plain async def coroutines without decorator boilerplate. Instead of using @pytest.mark.gen_test, you simply name your test function with test_ prefix and define it as async, and the plugin automatically runs it in the Tornado IOLoop.\n\nThe plugin provides fixtures for common testing scenarios: http_server_client for making requests to a Tornado app under test, http_client for arbitrary HTTP requests, http_server_port for the test server's port, and io_loop for direct IOLoop access. You define an app fixture that returns your tornado.web.Application, and the plugin handles the rest. It targets Tornado 5.0+ and Python 3.5+, though the project is no longer actively maintained.","worth_installing":"Yes, if you are testing a Tornado application on Python 3.5\u20133.7 with pytest and Tornado 5.x. The plugin is stable and has no known vulnerabilities. However, do not use it if you need support for newer Tornado or pytest releases, as the project is abandoned and will not receive updates. For new projects or modern Tornado versions, verify compatibility first or consider alternatives."},"id":"pytest-tornasync","links":{"html":"https://skillfed.io/packages/pytest-tornasync","md":"https://skillfed.io/packages/pytest-tornasync.md","pypi":"https://pypi.org/project/pytest-tornasync/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-07-15","license_spdx":null,"license_treatment":"permissive","name":"pytest-tornasync","python_support":"unspecified","summary":"py.test plugin for testing Python 3.5+ Tornado code"},"popularity":{"monthly_downloads":324443,"position":7594,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0.post2"}
