User Tools

Site Tools


programming:testing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
programming:testing [2020/05/16 11:47]
admin
programming:testing [2020/05/16 11:47] (current)
admin
Line 4: Line 4:
   * With command query separation and OO, there are some tests that you shouldn'​t write. https://​medium.com/​@smeriwether/​the-magic-tricks-of-unit-testing-28ce0b300cee   * With command query separation and OO, there are some tests that you shouldn'​t write. https://​medium.com/​@smeriwether/​the-magic-tricks-of-unit-testing-28ce0b300cee
   * Don't do Faux-O. Either do simple or once the project gets large, then do real OO.   * Don't do Faux-O. Either do simple or once the project gets large, then do real OO.
-    * "I can't tell where the implementation actually is! //​That'​s the point!//"​+    * "I can't tell where the implementation actually is, as it's spread across files and isn't on one screen! //​That'​s the point!//"​
 ===== APIs ===== ===== APIs =====
 Really helpful. I had notes somewhere, but basically it's the difference between 3D printing a bicycle once and saying "​let'​s call this a wheel, this a fork, this a frame, this a handlebar, etc", and test them all separately. Then integrate them together. Swap parts out easily, etc. All that standard stuff. Really helpful. I had notes somewhere, but basically it's the difference between 3D printing a bicycle once and saying "​let'​s call this a wheel, this a fork, this a frame, this a handlebar, etc", and test them all separately. Then integrate them together. Swap parts out easily, etc. All that standard stuff.
programming/testing.txt · Last modified: 2020/05/16 11:47 by admin