CRAN.R-project.org/package=httptest

Preview meta tags from the cran.r-project.org website.

Linked Hostnames

6

Thumbnail

Search Engine Appearance

Google

https://cran.r-project.org/package=httptest

httptest: A Test Environment for HTTP Requests

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.



Bing

httptest: A Test Environment for HTTP Requests

https://cran.r-project.org/package=httptest

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.



DuckDuckGo

https://cran.r-project.org/package=httptest

httptest: A Test Environment for HTTP Requests

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.

  • General Meta Tags

    9
    • title
      CRAN: Package httptest
    • Content-Type
      text/html; charset=utf-8
    • viewport
      width=device-width, initial-scale=1.0, user-scalable=yes
    • citation_title
      A Test Environment for HTTP Requests [R package httptest version 4.2.2]
    • citation_author
      Neal Richardson
  • Open Graph Meta Tags

    5
    • og:title
      httptest: A Test Environment for HTTP Requests
    • og:description
      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.
    • og:image
      https://CRAN.R-project.org/CRANlogo.png
    • og:type
      website
    • og:url
      https://CRAN.R-project.org/package=httptest
  • Twitter Meta Tags

    1
    • twitter:card
      summary
  • Link Tags

    2
    • canonical
      https://CRAN.R-project.org/package=httptest
    • stylesheet
      ../../CRAN_web.css

Links

13