Best of Testing — April 2024
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Community Picks·2y
Create Expo Stack
Create Expo Stack is an Expo app with the most configurable way to create an Expo app. It includes features such as NativeWindUI Styling Option, Unified Design System, Dark Mode Support, and an Enhanced Testing Suite. Future versions will also introduce a Runtime Testing feature using Maestro. Contributors and sponsors are welcome on GitHub.
- 9
- 10
Lobsters·2yUnit tests considered harmful? No.
The post discusses the misconception that unit tests are harmful, highlighting that it is actually the poor quality of unit tests that can cause issues. It emphasizes the importance of listening to the code and using unit tests as a tool for code refactoring and design guidance.
- 11
- 12
Dreams of Code·2y
Testcontainers have forever changed the way I write tests
The post discusses how the test containers package has improved the author's testing process by automating the deployment of service containers for integration testing. It explains how test containers can reduce flaky tests and highlights some pre-built modules provided by the package.
- 13
- 14
- 15
- 16
Community Picks·2y
Managing technical quality in a codebase.
Managing technical quality in a codebase requires engineers to prioritize quality, adopt best practices, and align technical vectors. It is important to address hot spots causing immediate problems, adopt practices known to improve quality, and identify leverage points that preserve quality over time. Measurement of codebase quality is crucial, and organizations can establish technical quality teams or quality programs to maintain and improve technical quality.
- 17
ThePrimeTime·2ySqlite Is The Most Used Database
SqLite is the most widely used and deployed database, with over 1 trillion active databases. It is used in various applications including Android devices, iPhones, Mac, Windows 10, browsers, Skype, iTunes, and more. SqLite is open source and maintained by three developers. The testing process for SqLite involves extensive code coverage, including regression tests, fuzz tests, and tests simulating system crashes and errors. Additionally, the post mentions Charles Babbage, known for his contribution to computing by creating the Difference Engine and Analytical Machine.
- 18
Javarevisited·2y
Top 6 Free JUnit Courses for Java Developers — Best of Lot
This post lists the top 6 free JUnit courses for Java developers to learn unit testing. It provides information on the importance of JUnit for Java developers and recommends various free courses available on platforms like Udemy and Coursera.
- 19
Community Picks·2y
Software Testing Pyramid
The Software Testing Pyramid is a framework in software development that divides testing into different layers - unit testing, integration testing, and end-to-end testing. It helps in identifying defects early, ensuring efficient test coverage, and maintaining software quality. Implementing the pyramid can be challenging but following best practices like starting testing early, automating tests, and prioritizing critical functionalities can lead to successful outcomes.
- 20
- 21
Hacker News·2y
stackframe-projects/pgmock: In-memory Postgres for unit/E2E tests
pgmock is an in-memory PostgreSQL mock server for unit and E2E tests. It runs entirely within WebAssembly on both Node.js and the browser. You can run it in a browser and it provides a recommended configuration for `node-postgres`. It is considered good practice to destroy the mock server after use. `pgmock` fully supports browser environments.
- 22
- 23
- 24
- 25
Towards Dev·2y
Mastering Unit Testing in Spring Boot Applications — The Service & Controller layer
This post provides a guide on mastering unit testing in the service and controller layers of a Spring Boot application. It covers the code structure and logic for testing the service and controller layers using Mockito. The post emphasizes the importance of unit tests for improving application reliability and provides examples of different scenarios and assertions that can be tested.