Page MenuHomePhabricator

[EPIC/WIP] Fast frontend isolated unit testing
Closed, DuplicatePublic

Description

WIP, do not touch

POC

Steps

  • Implement test running infra
    • Running locally
    • Running in CI (via npm test)
  • Analyze current qunit tests
    • Identify isolated unit tests that could be extracted from the qunit folder and migrated
    • Identify integrated unit tests that could be migrated with some refactoring
  • Proper code coverage
    • Integrate code coverage reports and fail job on coverage decrease

Feel free to point ideas in the comments to integrate into the epic.

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 17 2016, 10:01 AM
Jhernandez updated the task description. (Show Details)Jun 17 2016, 10:01 AM
Jhernandez updated the task description. (Show Details)
Jhernandez moved this task from Backlog to Epics on the MobileFrontend board.
Jhernandez moved this task from Incoming to Epics/Goals on the Readers-Web-Backlog board.
Jhernandez updated the task description. (Show Details)Jun 17 2016, 10:14 AM
Jhernandez triaged this task as Normal priority.Jun 22 2016, 4:32 PM
Jdlrobson renamed this task from Fast frontend isolated unit testing to [EPIC/WIP] Fast frontend isolated unit testing.Apr 13 2017, 7:16 PM
Jdlrobson moved this task from Epics/Goals to Needs Prioritization on the Readers-Web-Backlog board.
Jdlrobson added a subscriber: Jdlrobson.

Needs fleshing out.

This are all things that are done in Popups, so we know how to do it. Also making this change as part of migrating sources to common.js makes it easier to do. I'm not sure this is valuable on its own, maybe it should be part of migrating mobilefrontend sources to common.js with the pre-compilation step.

I will fold this into the a/c for T155802

Jdlrobson claimed this task.May 4 2017, 3:44 PM