Fork me on GitHub

about BlackBoxRecorder

BlackBoxRecorder is a tool that uses AOP techniques to automatically record and generate characterization tests for legacy .NET code (code without tests). You apply a [Recording]-attribute on the method you want to generate tests for, and a [Dependency]-attribute on any class accessing external resources such as the file system, web services or databases.

BlackBoxRecorder works best for code following the anemic domain model anti-pattern This pattern is often found in Java/.NET n-layered enterprise applications, where you have a business logic layer, a data access layer, and a shared set of dumb entity objects. The business logic layer operates directly on the entities, manipulating their values, or by creating new entity objects. Using BlackBoxRecorder you can get this kind of code under test by marking your business logic with the Recording-attribute, and your service agents or data access classes with the Dependency-attribute.

Contributors