Unit tests for rules

Using ProjectBuilder to set up my project for testing, how can I “realize” the model in order to test the results? The gradle source tests are using various versions of project.modelRegistry.realize(), but those are all internal. Any plans on exposing this kind of functionality in the test kit?

Concerning TestKit: It resolves the model as any build script that is run with Gradle as usual from the command line.

I was a bit unclear, I meant without executing a script, as in programmatically populating the model and realizing it, then being able to inspect the various tasks/properties.