Articles Tagged “Testing”
11 articles tagged “Testing”, newest first.
-
Can Your Ada and SPARK Tests Notice Changes to the Code? ── Introducing AdaMutant
AdaMutant is a mutation testing tool for Ada and SPARK. It makes small changes to the source and checks whether your tests or GNATprove proofs notice them. T...
-
Proving AI-Written Code with SPARK ── Humans Write the Contracts, GNATprove Checks Them
We add preconditions and postconditions to Ada functions written by AI and prove them with GNATprove, using real output: how to read failures, proofs that pa...
-
Property-Based Testing: Trying the Inputs Examples Never Reach ── C# in Practice with FsCheck and xUnit
Tests written by AI only check the inputs their author thought of. This article shows property-based testing in C# and xUnit: write properties that hold for ...
-
Testing Your Tests with Mutation Testing ── Finding Tests That Check Nothing with Stryker.NET
Mutation testing deliberately changes code slightly and checks whether tests fail. Learn to find tests that run code but check nothing: setting up Stryker.NE...
-
Finding Untested Code with Coverage ── Checking C# Tests Written by AI
Use code coverage to find the code that AI-written C# tests never run: lines versus branches, measuring with Coverlet, reading reports, excluding generated c...
-
Can You Trust Tests Written by AI? ── How to Spot Tests That Pass Without Checking Anything
Tests written by AI can pass without checking anything. Learn to spot missing assertions, expected values copied from the code, overused test doubles, happy-...
-
Date, Time, and Timezones in Business Apps — From DateTime Pitfalls to the UTC-Storage Principle and Test Design
Timestamps drift by nine hours after a server migration; only the overseas office's dates roll back to the previous day — we trace date/time incidents back t...
-
UI Automated Testing for Windows Desktop Apps — How UI Automation Works and Building Robust Tests with FlaUI
A practical guide to UI automated testing for WinForms/WPF apps, working from how Windows UI Automation itself works (the tree, AutomationId, control pattern...
-
Testing PowerShell with Pester — A Practical Approach to Making Operations Scripts Harder to Break
A practical walkthrough of testing PowerShell scripts with Pester v5 — safely covering date handling, file operations, deletion logic, mocking, and CI execut...
-
How to Speed Up App Validation with Windows Sandbox
How to use Windows Sandbox to isolate administrator-privilege issues, reproduce problems in a clean environment, and simulate missing privileges or resources...
-
Where to Draw the Line Between Unit Tests and Integration Tests
We organize the boundary between unit tests and integration tests along the axes of pure logic, formats, wiring, environment differences, and time dependence...