contributing-tests's People
Forkers
talk2mishal joshtgreenwood exh lcihaeon ragnarock91 curriyo eltortuganegra beride viktorburia boyone alimnastaev herbal7ea jdm79 cytrowski werockstar cheikh-tijani tpamula a-tarek xuminghui srferron kev-cs lambdaml roberteblackwood vinodhthiagarajan1309 yifeng-sun jnair ryangtr fdefay00 skona306 abrose worasit kambojankit aljorhythm amitp007 ruaffu green6erry jmas1913 krishna301002 danhaller sadgirei zemlyanik1n dmitrykotenev zancrow20 darongmean albertocaromcontributing-tests's Issues
unfinished paragraph in London-school
In https://github.com/testdouble/contributing-tests/wiki/London-school-TDD, the last chapter Increased refactoring cost
, the second paragraph has an unfinished sentence: In general, attempting to refactor the implementation without changing the test first
Partial mock definition can be improved
The definition of partial mock on the Partial Mock page:
Put simply, "partial mock" refers to any actual object which has been wrapped or changed to provide artificial responses or verify actual interactions by a test.
I already have a good intuitive understanding of partial mocks and am thinking about how I'd present them to a beginner. I think this part of the definition could be improved:
provide artificial responses or verify actual interactions by a test.
Partial mocks provide artificial responses to some methods and real responses for others. As a result they can or cannot verify actual interactions by a test depending on the method. This is what's bad about them. Theoretically you could construct a partial mock using a mocking library or handrolled but override all the methods with artificial responses. In that case I don't know if it is still considered a partial mock. If so, I can see how creating both an accurate and understandable definition for beginners would be hard.
I'd prefer this definition
Put simply, "partial mock" refers to any actual object which has been wrapped or changed to provide artificial responses to some methods but not others
Test Pyramid doubts
Hi @searls ,
some time ago I've watched yours Game of Life series and finally landed here โ thanks for the effort! I'm just curious about the intention of Test Pyramid comments, especially the one concerning integration tests (or something between E2E and units). In particular, where would you classify testing collaborations? Or perhaps the meaning is: do not couple the test with particular framework or more general, a piece of code that I don't own?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.