Add unit tests #1

Open
opened 2018-11-12 05:45:47 +01:00 by MrPetovan · 4 comments
MrPetovan commented 2018-11-12 05:45:47 +01:00 (Migrated from github.com)

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

Right?

Since this looks like a Dependency Injection-compliant projects, targeted unit tests should be easy to add, right? Right?
nupplaphil commented 2018-11-18 17:09:41 +01:00 (Migrated from github.com)

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 :-) :-)

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 2018-11-18 17:37:31 +01:00 (Migrated from github.com)

Where's the functional test?

Where's the functional test?
nupplaphil commented 2018-11-18 18:07:07 +01:00 (Migrated from github.com)
https://github.com/friendica/friendica-directory/blob/master/tests/Functional/BaseTestCase.php
MrPetovan commented 2018-11-19 12:23:45 +01:00 (Migrated from github.com)

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

Ha, you're right, it was included in the Slim skeleton project.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: friendica/friendica-directory#1
No description provided.