Tag

test best practices

0 views collected around this technical thread.

FunTester
FunTester
Apr 14, 2025 · Backend Development

Common Mistakes in Go Unit Testing and How to Avoid Them

This article examines nine frequent errors developers make when writing Go unit tests—such as improper test classification, neglecting the race detector, ignoring parallel and shuffle flags, avoiding table‑driven tests, using sleep, mishandling time APIs, overlooking httptest/iotest, misusing benchmarks, and skipping fuzz testing—providing analysis and concrete code‑based solutions to improve test reliability and efficiency.

ConcurrencyGobenchmarking
0 likes · 11 min read
Common Mistakes in Go Unit Testing and How to Avoid Them
FunTester
FunTester
Jan 28, 2020 · Fundamentals

Different Types of Integration Testing and Best Practices

The article explains various integration testing approaches—including Big Bang, Incremental, Bottom‑up, Top‑down, and Hybrid—and outlines practical best‑practice guidelines such as test ordering, separating test suites, thorough logging, and creating shared test plans for developers.

integration-testingsoftware developmentsoftware testing
0 likes · 7 min read
Different Types of Integration Testing and Best Practices