Articles tagged with: Patterns & Practices

Javascript Named Exports for testing

Summary: Discusses a testing pattern using JavaScript named exports to test unexposed code fragments.


Object Oriented Python - A Summary

Summary: This blog post provides a summary of object-oriented programming in Python, covering topics such as class creation, inheritance, method types, and method overloading. It also recommends visiting realpython.com for more detailed explanations.


Monorepo-related resources

Summary: This blog post provides a comprehensive list of resources related to monorepos, including articles, papers, talks, and courses. The resources are sorted alphabetically and include information from various years.


Avoiding relative imports in Javascript, TypeScript, Webpack and Jest

Summary: This blog post discusses how to avoid or remove relative imports in JavaScript projects by using module aliases in Webpack and Babel, as well as configuring path mappings in TypeScript and Jest. The goal is to make imports more readable and maintainable.


Don't avoid test randomness, embrace and control it

Summary: The blog post discusses the importance of embracing and controlling test randomness. The author argues against using fixed seed values in tests and suggests generating a random seed and printing it to reproduce failures. They highlight the benefits of using varied test data and the potential drawbacks of static test data. The post emphasizes the value of adding randomness to tests to uncover hidden bugs and achieve anti-fragility.