As a reminder (for myself or somebody else..) by reactivating this thread:
PetitParser needs to be retested if it loads fine in Squeak 4.4...
--Hannes
On 8/31/12, Dale Henrichs dhenrich@vmware.com wrote:
----- Original Message ----- | From: "Frank Shearar" frank.shearar@gmail.com | | I'm aiming to, at some point in the very near future, implement some | kind of minimal CI infrastructure that could take a ConfigurationOf | and run its tests. I was hoping builderCI could do it, but it's quite | a complicated beast.
Frank,
I think the interesting bit in builderCI that you're looking for to construct the test suite is probably this chunk of code that leverages the Metacello scripting api:
| suite configurationClassNameList | configurationClassNameList := #( "list of configuration classes" ). suite := TestCase suiteClass named: configurationClassNameList printString, ' Test Suite'. configurationClassNameList do: [ :className | ((MetacelloProjectRegistration registrationForClassNamed: className ifAbsent: [ self error: className printString , ' not registered (loaded)' ]) currentlyLoadedClassesInProject select: [ :cl | cl inheritsFrom: TestCase ]) do: [ :cl | cl isAbstract ifFalse: [ suite addTest: cl buildSuiteFromSelectors ] ] ].
Dale