Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit testing for Sifo classes #57

Closed
alombarte opened this issue Feb 1, 2014 · 2 comments
Closed

Unit testing for Sifo classes #57

alombarte opened this issue Feb 1, 2014 · 2 comments
Milestone

Comments

@alombarte
Copy link
Contributor

Travis-CI is now integrated in the project and we should start creating the unit tests. I have just deleted a lot of files with empty tests. Now we should have a passing suite (with warnings) but it's just useless.

A heavy refactor should be done in many classes but we should avoid it as much as possible to keep changes controlled. There are also a lot of singletons which are crappy for testing.

@ghost ghost assigned nilportugues Feb 1, 2014
alombarte added a commit that referenced this issue Feb 1, 2014
@alombarte
Copy link
Contributor Author

artomb@MacBook-Air-de-Albert:~/CentOS/shared/www/sifo$ /Users/artomb/CentOS/shared/www/common-sifo/vendor/bin/phpunit
PHPUnit 3.7.28 by Sebastian Bergmann.

Configuration read from /Users/artomb/CentOS/shared/www/sifo/phpunit.xml.dist

.......IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

Time: 19 ms, Memory: 7.00Mb

OK, but incomplete or skipped tests!
Tests: 40, Assertions: 12, Incomplete: 33.
artomb@MacBook-Air-de-Albert:~/CentOS/shared/www/sifo$ 

@alombarte alombarte changed the title Unit testing for Sifo lib Unit testing for Sifo classes Oct 13, 2015
@kpicaza
Copy link
Contributor

kpicaza commented Feb 25, 2022

Unit testing is now possible, see test/bootstrap.php and for example test/Sifo/I8NTest.php file

@kpicaza kpicaza closed this as completed Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants