The Wizards Engine : Automated Testing

Overview

The automated testing project will allow user to mark objects. Marking indicates that at that point in the execution, the object's state should be fixed across multiple test runs. If the state of this object is identical to a stored 'correct' state, the test is considered successful.

The engine will provide tools to manually validate the state at this points, so that you don't have to recreate these states by hand, testing them is good enough. This means that there is a user mode and a automated mode.

Ideas

Depending on the type of the marked object, a specific visualization can be made. There should be a way to add specific test visualizations for data types.

  • IMesh: render mesh
  • Framebuffer: show buffer
  • Matrix: show decomposed text + axis
  • Objects: show text based, or graph based?
  • Console output

Extend NUnit using NUnit addins in order to decorate tests with more behaviour.

Resharper supports NUnit addins. Just use a nunit installation inside the source root, add addins into the /addins folder, and use this installation with resharper (store settings with solution) http://www.jetbrains.com/resharper/webhelp/Reference__Options__Tools__Unit_Testing__NUnit.html
Use a SuiteBuilder extension point to build NUnit test suits for another attribute than [TestFixture]