httptest2 (Q116672)

From MaRDI portal
Test Helpers for 'httr2'
Language Label Description Also known as
English
httptest2
Test Helpers for 'httr2'

    Statements

    0 references
    0.1.0
    10 January 2022
    0 references
    1.0.0
    7 November 2023
    0 references
    0 references
    0 references
    7 November 2023
    0 references
    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.
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references