{"skill":{"slug":"bookforge-characterization-test-writing","displayName":"Characterization Test Writing","summary":"Write tests that pin down the actual current behavior of untested legacy code as a safety net for change. Use whenever a developer needs to create a regressi...","tags":{"bookforge":"1.0.0","characterization-tests":"1.0.0","latest":"1.0.0","legacy-code":"1.0.0","refactoring":"1.0.0","software-engineering":"1.0.0","testing":"1.0.0","unit-testing":"1.0.0"},"stats":{"comments":0,"downloads":18,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1777466781794,"updatedAt":1777467406818},"latestVersion":{"version":"1.0.0","createdAt":1777466781794,"changelog":"Initial release of the characterization test writing skill for legacy code.\n\n- Provides guidance for writing characterization (behavior-preserving) tests in untested legacy code before making changes.\n- Describes when to use characterization tests, with triggers and scenarios outlined.\n- Details a step-by-step process: choosing scope, setting up test harness, writing failing assertions to discover actual behavior, and updating tests accordingly.\n- Integrates with related skills such as legacy-code-change-algorithm and change-effect-analysis.\n- Targeted at developers needing a regression safety net during legacy code modification.\n- Requires a codebase with an xUnit-style test framework for execution.","license":"MIT-0"},"metadata":{"os":null,"systems":null},"owner":{"handle":"quochungto","userId":"s176b6gfk8djgcz320d83ta4e184bx1v","displayName":"Hung Quoc To","image":"https://avatars.githubusercontent.com/u/88069966?v=4"},"moderation":null}