On behavior verifications
A developer shares lessons learned from refactoring a SpringMock parser class, emphasizing behavior verification pitfalls in testing.
A developer shares lessons learned from refactoring a SpringMock parser class, emphasizing behavior verification pitfalls in testing.
A developer's journey building GreenPiThumb, an open-source Raspberry Pi bot that automates houseplant watering using JavaScript and AngularJS.
Discusses the pitfalls of using random data for testing in software development and advocates for using object factories instead.
Explains the behavior and potential dangers of using beforeSuite and afterSuite hooks in the Quick testing framework for Swift.
Explains the execution order of nested beforeEach and afterEach blocks in the Quick testing framework for Swift.
Explains the differences between Nimble's toEventually and waitUntil for testing asynchronous Swift code, with guidance on when to use each.
A developer shares projects from SUSE Hack Week 15, including Conway's Game of Life, Ruby gems, and Git tooling.
A tutorial on using XCTest closure-based expectations with NSPredicate to test asynchronous Swift code.
A guide to using dependency injection with static methods and classes in Swift to improve testability of legacy code.
A tutorial on writing basic unit tests for Angular components using the Angular Testing Utilities and TestBed.
A guide to effectively testing Django signals, covering decoupling, signal creation, and best practices for writing clean, maintainable tests.
A beginner's guide to writing and running unit tests in the Go programming language, covering the built-in `go test` tool and basic test structure.
A guide to writing maintainable tests for iOS apps, covering the Red-Green-Refactor cycle and the Arrange-Act-Assert pattern.
A guide to effectively testing Java repository layers, focusing on database setup, using H2 and PostgreSQL, and ensuring production-like environments.
Discusses the pitfalls of coupling unit tests through shared setup and state, advocating for independent tests for better maintainability.
A guide to fixing flaky tests caused by time dependencies using a static SystemDateTime helper class in .NET.
A guide to using class-based tests in Python to make test suites more extensive, expressive, and maintainable, demonstrated with an API login endpoint.
Explains how to use the linker's --wrap flag to mock C standard library functions for unit testing, enabling isolated code testing.
Explains a subtle bug in C# where using 'var' with an async method call without 'await' leads to unexpected behavior, and discusses prevention.
A speaker's experience and talk highlights from the JEEConf 2016 Java and enterprise software development conference.