pytest-inline: An inline testing tool for Python

Y Liu, Z Thurston, A Han, P Nie… - 2023 IEEE/ACM 45th …, 2023 - ieeexplore.ieee.org
We present pytest-inline, the first inline testing framework for Python. We recently proposed
inline tests to make it easier to test individual program statements. But, there is no framework …

Inline tests

Y Liu, P Nie, O Legunsen, M Gligoric - Proceedings of the 37th IEEE …, 2022 - dl.acm.org
Unit tests are widely used to check source code quality, but they can be too coarse-grained
or ill-suited for testing individual program statements. We introduce inline tests to make it …

[图书][B] Python testing cookbook

GL Turnquist, B Das - 2011 - academia.edu
Testing has always been a part of software development. For decades, comprehensive
testing was defined by complex manual test procedures backed by big budgets; but …

How and why developers migrate Python tests

L Barbosa, A Hora - 2022 IEEE International Conference on …, 2022 - ieeexplore.ieee.org
Nowadays, Python developers can rely on two major testing frameworks: unittest and pytest.
Due to the benefits of pytest (eg, fixture reuse), several relevant projects in the Python …

Pytest testing framework

J Hunt, J Hunt - Advanced Guide to Python 3 Programming, 2019 - Springer
There are several testing frameworks available for Python, although only one, unittest comes
as part of the typical Python installation. Typical libraries include unittest (which is available …

[图书][B] Python Unit Test Automation: Practical Techniques for Python Developers and Testers

A Pajankar - 2017 - books.google.com
Quickly learn how to automate unit testing of Python 3 code with Python 3 automation
libraries, such as doctest, unittest, nose, nose2, and pytest. This book explores the important …

[PDF][PDF] PyModel: Model-based testing in Python.

J Jacky - SciPy, 2011 - conference.scipy.org.s3.amazonaws …
In unit testing, the programmer codes the test cases, and also codes assertions that check
whether each test case passed. In model-based testing, the programmer codes a" model" …

[图书][B] Python Unit Test Automation: Automate, Organize, and Execute Unit Tests in Python

A Pajankar - 2022 - Springer
Learn how to automate unit tests of Python 3 with automation libraries, such as doctest,
unittest, nose, nose2, pytest, and selenium. This book explores important concepts in …

Extracting Inline Tests from Unit Tests

Y Liu, P Nie, A Guo, M Gligoric… - Proceedings of the 32nd …, 2023 - dl.acm.org
We recently proposed inline tests for validating individual program statements; they allow
developers to provide test inputs, expected outputs, and test oracles immediately after a …

Perfci: A toolchain for automated performance testing during continuous integration of python projects

O Javed, JH Dawes, M Han, G Franzoni… - Proceedings of the 35th …, 2020 - dl.acm.org
Software performance testing is an essential quality assurance mechanism that can identify
optimization opportunities. Automating this process requires strong tool support, especially …