Java with AI - Tip #2 - Generate tests before implementation
Published on
Use AI to generate tests before implementing functionality. This helps clarify requirements, define expected behavior and improve code quality when working with AI tools.Published on
Use AI to generate tests before implementing functionality. This helps clarify requirements, define expected behavior and improve code quality when working with AI tools.Published on
AI can accelerate Java development, but by applying the Single Responsibility Principle we can unlock even more value, clarity, and testability in AI assisted workflows.Published on
You’re running your Maven build, all your tests pass successfully, but suddenly the build fails with a cryptic error in the forked process. This article explores a frustrating edge case where mocked exceptions break the test reporting phase, causing builds to fail despite passing tests.Published on
Inlining is one of the most aggressive and rewarding optimizations performed by the HotSpot JIT compiler. It replaces a method call with the actual body of the method called, eliminating dispatch overhead and enabling further optimizations. But not all method calls are inlined, and understanding why requires diving deep into how the compiler makes these decisions.