Is it possible to unit test, php files other than class file using PHPUnit?

Viewed 2179

I'm new to PHPUnit. I have php files that don't have any classes in them. What I came to understand from reading documentation, PHPUnit considers a class as a single unit. So Does PHPUnit considers a class as a unit? Is it possible to test php files that don't have any class in them?

1 Answers
Related