CMD + K

r-httptest2

Anaconda Verified

Testing and documenting code that communicates with remote servers can be painful. This package helps with writing tests for packages that use 'httr2'. It enables testing all of the logic on the R sides of the API without requiring access to the remote service, and it also allows recording real API responses to use as test fixtures. The ability to save responses and load them offline also enables writing vignettes and other dynamic documents that can be distributed without access to a live server.

Installation

To install this package, run one of the following:

Conda
$conda install r::r-httptest2

Usage Tracking

0.1.0
1 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

Testing and documenting code that communicates with remote servers can be painful. This package helps with writing tests for packages that use 'httr2'. It enables testing all of the logic on the R sides of the API without requiring access to the remote service, and it also allows recording real API responses to use as test fixtures. The ability to save responses and load them offline also enables writing vignettes and other dynamic documents that can be distributed without access to a live server.

Last Updated

Jan 16, 2024 at 22:06

License

MIT

Total Downloads

36

Supported Platforms

noarch