"creu bonyn"? Alla'i ddim meddwl am ferf
"ffugio"?
On 22 August 2011 15:07, Claire Richards <[log in to unmask]> wrote:
> Ym maes technoleg gwybodaeth
>
>
>
> “Stubbing means replacing a method, function or an entire object with a
> version that produces hard-coded responses. This is typically used to
> isolate components from each other, and your code from the outside world.
> For example, stubbing is often used to decouple tests from storage systems
> and to hard-code the result of HTTP requests to test code that relies data
> from the Web.
>
> Mocking is a form of testing that involves verifying behaviour by checking
> which methods are called during a test. Like stubbing, it involves replacing
> methods with fake versions, but it also means setting expectations that
> those methods must be called. This is used to specify contracts between
> layers of an application, and to test side-effects.”
>
>
>
> Defnyddir yr enwau “mocks” a “stubs” hefyd.
>
>
>
> Unrhyw syniad, unrhyw un?
>
>
>
> Claire
>
>
>
> Mae Pennawd Cyf yn gwmni cyfyngedig wedi'i gofrestru yng Nghymru a Lloegr o
> dan y rhif cofrestru 4276774, a chyfeiriad y swyddfa gofrestredig yw 27A
> Heol Merthyr, yr Eglwys Newydd, Caerdydd, CF14 1DA.
>
>
>
> Pennawd Cyf is a limited company registered in England and Wales under the
> number 4276774, and the address of the registered office is 27A Merthyr
> Road, Whitchurch, Cardiff, CF14 1DA
>
>
|