friendica / friendica-directory

Global directory for the Friendica project. The repository has moved to git.friendi.ca/friendica/friendica-directory
GNU Affero General Public License v3.0
20 stars 11 forks source link

Add unit tests #1

Open MrPetovan opened 5 years ago

MrPetovan commented 5 years ago

Since this looks like a Dependency Injection-compliant projects, targeted unit tests should be easy to add, right?

Right?

nupplaphil commented 5 years ago

hui .. sounds great :-D

We already introduced one functional test here. So we can now differ between unit-test (= mocking around) and functional-test (= using the App as a whole).

This is something, which we are currently (badly) mixing at Friendica :-) :-) .. So good work with this repo @MrPetovan :-) :-)

MrPetovan commented 5 years ago

Where's the functional test?

nupplaphil commented 5 years ago

https://github.com/friendica/friendica-directory/blob/master/tests/Functional/BaseTestCase.php

MrPetovan commented 5 years ago

Ha, you're right, it was included in the Slim skeleton project.