Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 4.26 KB

EngineeringPractices.md

File metadata and controls

78 lines (50 loc) · 4.26 KB

Tech Leading - Engineering Practices

General

Books

Writing Healthy Code

Books

Fitness Functions

Books

Test Driven Development and Unit Testing

Books

Training Courses and Videos

  • Ian Cooper - TDD, where did it all go wrong [1:00:37] Takeaway: A test case per class fails to capture the ethos of tdd. The trigger for a new class is implementing a new requirement. Only test the surface of a module. Unit tests run in isolation from other tests, not other modules. Databases, file systems stop tests being isolated from each other. Tests should not depend on implementation details. Don't mock out your internals. Mock the port to the adapter not the adapter itself.

  • Sebastian Daschner - Make writing tests more joyful [1:01:58] Takeaway: Test code quality matters. Write reusable test components to decouple implementation and behaviour under test. Writing BDD/Gherkin tests forces that separation. Care about fast feedback cycles. Separate running docker containers for testing from the tests themselves. Write reusable, idempotent test scenarios. Don't let easy to write tests using things like automocking slow down your tests.

  • Venkat Subramaniam: Succeeding with TDD: Pragmatic Techniques for effective mocking [1:02:09]

Code Review

Articles

  • Humanising Reviews Takeaway: Use questions to elicit feedback rather than statements. Explanation of some reasons people fight against having their code reviewed as well as reviewing other's code. Explanation of how the culture of your organisation will effect the uptake of code review. Code review is not to criminalise the person who wrote the code, that is counterproductive.

Continuous Integration, Delivery and Deployment

Articles

Books

Trunk Based Development

Books

Articles

Legacy Code Uplift

Books

Articles

💲 - paid for content