mockery (Q29261): Difference between revisions
From MaRDI portal
Changed an Item |
Swh import (talk | contribs) SWHID from Software Heritage |
||||||||||||||
(2 intermediate revisions by 2 users not shown) | |||||||||||||||
Property / source code repository | |||||||||||||||
Property / source code repository: https://github.com/cran/mockery / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / Software Heritage ID | |||||||||||||||
Property / Software Heritage ID: swh:1:snp:de2d8bf046e7892a76944570ed23b7cf192847c9 / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / Software Heritage ID: swh:1:snp:de2d8bf046e7892a76944570ed23b7cf192847c9 / qualifier | |||||||||||||||
Property / Software Heritage ID: swh:1:snp:de2d8bf046e7892a76944570ed23b7cf192847c9 / qualifier | |||||||||||||||
point in time: 9 October 2023
| |||||||||||||||
links / mardi / name | links / mardi / name | ||||||||||||||
Latest revision as of 18:19, 21 March 2024
Mocking Library for R
Language | Label | Description | Also known as |
---|---|---|---|
English | mockery |
Mocking Library for R |
Statements
26 September 2023
0 references
The two main functionalities of this package are creating mock objects (functions) and selectively intercepting calls to a given function that originate in some other function. It can be used with any testing framework available for R. Mock objects can be injected with either this package's own stub() function or a similar with_mock() facility present in the 'testthat' package.
0 references