About
"Mocking" is a technique used in unit-testing that replace external dependencies with "fake" objects, simulating the behavior of the real ones. This process is usually applied when the existence of these dependencies makes impossible to write proper tests or when its result can be non-deterministic, hard to reproduce and/or slow to calculate. In this talk, I will briefly describe this technique and show how and where to use it through some examples..
0:00:00 Slide 1
0:00:19 Slide 2
0:00:59 Slide 3
0:01:05 Slide 4
0:01:46 Slide 5
0:02:28 Slide 6
0:02:43 Slide 7
0:02:51 Slide 8
0:03:41 Slide 9
0:04:20 Slide 10
0:05:08 Slide 11
The talk
Credits and licence
- Institution
- CERN
- Department
- IT Lightning Talks (ITLT)
- Speaker
- Alberto RODRIGUEZ PEON
- Year
- 2014
- Language
- English
- Source
- CERN
- Licence
- CERN, as CERN states it. CERN's terms
- Attribution
- © CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
- Who can watch
- CERN gives no rating. Invisible Network shows it to Teens profiles and older, judged from what the source says about it. How courses are placed