•  
      request #14922 Increase unit-test coverage for TLP
    Infos
    #14922
    Joris MASSON (jmasson)
    2020-06-08 11:59
    2020-05-29 15:35
    15873
    Details
    Increase unit-test coverage for TLP

    The TLP library has very low unit-test coverage. It is unfortunate since it is used in a majority of pages in Tuleap and is included in every BurningParrot page ever.
    We should unit-test it, at the very least to make sure it is stable.

    As it is (very) painful to unit-test something after it has been written (in this case 4 years later), it should be done gradually.

    This request focuses on some of the most heavily used components: modals, dropdowns, popovers, fetch-wrapper.

    "filter-inline-table" is left out because it is the biggest "component", relies a lot on the DOM (which makes it painful to test) and has not been used very much lately. Since using Vue.js, all filtering is done through Vue rather than this module. As I don't want to drag this request forever, I prefer to split it in smaller parts. "Filter-inline-table" will have its own request.

    TLP
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2020-06-08
    Attachments
    Empty
    References

    Follow-ups