•  
      request #10713 REST test should not depend on Tuleap internal API
    Infos
    #10713
    Manuel Vacelet (vaceletm)
    2017-10-09 12:23
    2017-10-02 10:31
    10950
    Details
    REST test should not depend on Tuleap internal API

    In order to be fully independent, REST tests should not depend on Tuleap internal API.

    One of the objectives is to be able to run the REST test suite with PHP >= 7 event with a 5.3 server in order to improve the execution time.

    Todo:

    • No longer use internal API for tokens
    • No longer use internal API for configuration change
    • Upgrade to PHP7 for runner (so it's hard to import code from Tuleap + it's faster)
    Other
    9.12
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-10-09
    Attachments
    Empty
    References
    Referencing request #10713

    Git commit

    tuleap/tuleap/stable

    Remove direct usage of Token in tests 16ff4334aa
    Remove dependency on Tuleap for request exec b176b00532
    Remove dependency on Tuleap Core during test executions 47c6b7393c
    Run REST test suite with PHP 7 when available 6366dae28b
    Git REST tests should leverage XML import b02be6918e
    Soap tests NG 4224c7d2bd
    Remove database init dead code b632f4b21d
    Fix SOAP tests e986885422
    No need of nss & nscd for API tests b5d04ee925
    Clean REST tests directory structure f9b99adc0f
    Clean SOAP tests directory structure 112d297ae9
    REST test speed-up: load time 918fb03882
    REST test speed-up: ArtifactsChangesetsTest 5dc43b2bb0
    REST test speed-up: MilestonesBacklogPatch 425e3496f4
    REST test speed-up: BacklogItemsTests 76e8248b08
    REST test speed-up: PutSoloCardTest 97f00e97b9
    REST test speed-up: MilestonesContentOrderTest & MilestonesContentTest 23ecf94dc5
    Cleanup REST tests for testmanagement 7213def990
    Clean-up REST test suite 21b1e8ba12

    Follow-ups

    User avatar

    I close this artifact as the initial goal is completed and more (speedup)

    Upgrade to guzzle 6.x will require a heavy change (all REST calls will have to be modified) to leverage PSR-7 so it deserve a dedicated ticket.

    Upgrade to phpunit 6.x is not an high priority.


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from Under implementation to Closed
    • Close date set to 2017-10-09
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes