# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "httptest" in publications use:' type: software license: MIT title: 'httptest: A Test Environment for HTTP Requests' version: 4.2.2.9000 doi: 10.32614/CRAN.package.httptest abstract: Testing and documenting code that communicates with remote servers can be painful. Dealing with authentication, server state, and other complications can make testing seem too costly to bother with. But it doesn't need to be that hard. This package enables one to test all of the logic on the R sides of the API in your package without requiring access to the remote service. Importantly, it provides three contexts that mock the network connection in different ways, as well as testing functions to assert that HTTP requests were---or were not---made. It also allows one to safely record real API responses to use as test fixtures. The ability to save responses and load them offline also enables one to write vignettes and other dynamic documents that can be distributed without access to a live server. authors: - family-names: Richardson given-names: Neal email: neal.p.richardson@gmail.com orcid: https://orcid.org/0009-0002-7992-3520 repository: https://nealrichardson.r-universe.dev repository-code: https://github.com/nealrichardson/httptest commit: 5b8b14bf10183e000f88c45c4d58c1372458c46a url: https://enpiar.com/r/httptest/ contact: - family-names: Richardson given-names: Neal email: neal.p.richardson@gmail.com orcid: https://orcid.org/0009-0002-7992-3520