Drupal now has its own testing framework. Using the simpletest framework enabled us to write tests without trying to envision and build our own framework. However, once a number of tests had been created, it seemed better to gradually replace the SimpleTest framework because it's so very un-Drupalish. First I have rewritten its browser and now we (mostly cwgordon7, dmitrig01 and me) have totally removed it. The new framework came about because we wanted to use batch API and the best place for collecting the messages was a database table. This, of course, could have been done within the SimpleTest framework but once we got to the point that we are collecting the messages and writing reporting code for our own message store, we have no need for SimpleTest so it was simpler to rework it. No tests have been harmed in the process, we kept the API. One change is that we now install a default Drupal profile for a test case not for each test method. This speeds up a bit. The next speedup I await from the module system revamp patch.
Meanwhile, boombatower leads the effort for making all the tests pass with core. I am happy to report that we are very, very close. Once we get there, it's up to the community not to break them again...
Commenting on this Story is closed.