Package: webmockr 1.0.0
webmockr: Stubbing and Setting Expectations on 'HTTP' Requests
Stubbing and setting expectations on 'HTTP' requests. Includes tools for stubbing 'HTTP' requests, including expected request conditions and response conditions. Match on 'HTTP' method, query parameters, request body, headers and more. Can be used for unit tests or outside of a testing context.
Authors:
webmockr_1.0.0.tar.gz
webmockr_1.0.0.tar.gz(r-4.5-noble)webmockr_1.0.0.tar.gz(r-4.4-noble)
webmockr_1.0.0.tgz(r-4.4-emscripten)webmockr_1.0.0.tgz(r-4.3-emscripten)
webmockr.pdf |webmockr.html✨
webmockr/json (API)
NEWS
# Install 'webmockr' in R: |
install.packages('webmockr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/webmockr/issues
httphttpsapiweb-servicescurlmockmockingfakewebhttp-mockingtestingtesting-toolstdd
Last updated 2 months agofrom:cf60b48d3b. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 23 2024 |
R-4.5-linux | OK | Aug 23 2024 |
Exports:%>%AdapterBodyPatternbuild_crul_requestbuild_crul_responsebuild_httr_requestbuild_httr_responsebuild_httr2_requestbuild_httr2_responseCrulAdapterdisableenableenabledHashCounterHeadersPatternHttpLibAdapaterRegistryhttr_mockhttr2_mockHttr2AdapterHttrAdapterMethodPatternmock_filepluck_bodyremove_request_stubrequest_registryrequest_registry_clearRequestPatternRequestRegistryRequestSignatureResponsestub_registrystub_registry_clearstub_requestStubbedRequestStubCounterStubRegistryto_raiseto_returnto_return_to_timeoutUriPatternwebmockr_allow_net_connectwebmockr_configurationwebmockr_configurewebmockr_configure_resetwebmockr_crul_fetchwebmockr_disablewebmockr_disable_net_connectwebmockr_enablewebmockr_net_connect_allowedwebmockr_resetwi_thwi_th_
Dependencies:base64enccrulcurlfauxpashttpcodejsonlitemagrittrmimeR6Rcpptriebeardurltoolswhisker