I raised the Simpletest coverage to 98% percent. Th remaining 2% percent is caused by:
- mocked functions like hack/scan result
- the classes added by the DataObject library which i should exclude from make check but i'm not really sure how to do it (they are all at 75%)
- a function in site_collection class that returns a result based on the number of sites a user owns. In order to test it i must insert in the db 10000 sites. I wrote the test function that does that and performs the tests, but i commented it out because it takes a long time to execute
I raised the Simpletest coverage to 98% percent. Th remaining 2% percent is caused by:
- mocked functions like hack/scan result
- the classes added by the DataObject library which i should exclude from make check but i'm not really sure how to do it (they are all at 75%)
- a function in site_collection class that returns a result based on the number of sites a user owns. In order to test it i must insert in the db 10000 sites. I wrote the test function that does that and performs the tests, but i commented it out because it takes a long time to execute