Ticket #115 (new task)

Opened 11 months ago

Last modified 4 months ago

Unit Tests are outdated

Reported by: gramlich@… Owned by: pmjones
Priority: major Component: tests
Keywords: Cc:

Description

Hello Paul,

I just installed Solar from the PEAR channel to give it a try.

I first tried to run the tests in /PathToPear/tests/Solar/tests by calling

phpunit AllTests.php

Solar/ContentTest.php requires 'Solar/Content.php' which does not exist. Actually I don't know if there is any replacement for Solar_Content. All methods seem to be provided by Solar_Base already.

So I removed Solar/ContentTest.php and the next problem was in Solar/Form/Load/TableTest.php(7): Solar::autoload('Solar_Sql_Table')

I found that Solar_Sql_Table now is Solar_Sql_Model

Is there any sense in attempting to adapt the tests myself?

For these two classes, there are still docs: http://solarphp.com/class/Solar_Content and http://solarphp.com/class/Solar_Sql_Table

Best Regards, Gregor

Attachments

Change History

Changed 4 months ago by pmjones

  • type changed from defect to task

Gregor, you are correct, they are terribly outdated. Running tests is part of the target for a "beta" release. I'm converting this to a task instead of a defect in the mean time. Thanks for your attention on this.

Add/Change #115 (Unit Tests are outdated)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.