assemblee-virtuelle / assemblee-virtuelle/wp-ldp

Add API unit testing

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
19
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I tried to achieve unit testing of my custom endpoints based on :
- https://torquemag.io/2017/01/testing-api-endpoints/

But it is a failure for now. Would be fine to be able to test them by creating and updating resources of certain container types and get them, update them, etc...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failed custom-endpoint unit-testing approach described in the issue's TorqueMag article. Inspect how custom endpoints expose resource creation, updating, retrieval, and container types. Done means tests can create and update the relevant resources and retrieve them through the API.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wordpress
Domain
api, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.