Closed (fixed)
Project:
JSON:API
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 May 2016 at 09:54 UTC
Updated:
4 Jun 2016 at 13:44 UTC
Jump to comment: Most recent, Most recent file
We are missing tests for some classes.
We need to add test coverage for the methods in the EntityResource, the Routes and the ResourceManager classes.
I suggest adding Kernel testing to make sure that the individual and the collection methods are returning as expected under different scenarios.
I suggest adding Unit testing to make sure that the routes are created for the different bundles and entity types.
I suggest adding Unit testing to make sure that the resource config for the different bundles are available and discovered.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 2726265--additional-testing--7.patch | 17.51 KB | e0ipso |
| #5 | 2726265--additional-testing--5.patch | 19.81 KB | e0ipso |
Comments
Comment #2
e0ipsoComment #3
e0ipsoComment #4
e0ipsoComment #5
e0ipsoWork in progress. Testing is hard.
Comment #6
e0ipsoComment #7
e0ipsoReady for review. I removed the cruft from the other patch.
Comment #9
e0ipsoTests merged.