Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

[WebTestRunner] All the tests #1919

Closed
18 tasks
jasonLaster opened this issue Feb 3, 2017 · 1 comment
Closed
18 tasks

[WebTestRunner] All the tests #1919

jasonLaster opened this issue Feb 3, 2017 · 1 comment

Comments

@jasonLaster
Copy link
Contributor

jasonLaster commented Feb 3, 2017

Now that we have a working Test Runner on localhost:8000/integration we should port the remaining tests and see if we can make some improvements:

Steps for converting a test

  1. create a new integrations/test/<file>.js
  2. add it to tests/runner.js
  3. export it in tests/tests.js and import it in the original mochitest/<file>.js
  4. refactor the test:
  • make it async, change yields to await
  • setup ctx, add it to asserts
  • add dbg to invokeInTab
  • you need to add a source in initDebugger to pause on

Remaining Tests to port

  • breaking-from-console.js
  • breakpoints.js
  • console.js

Tests to fix

Tests to add

  • editor
    • reveal source
    • "add watch expression"

Improvements

  • run on CI
  • prompt user to launch a browser
  • make chrome and node testing better
  • improve reporter
  • check for other running debuggers... it will be flakey when another debugger is connected to the tab
@codehag
Copy link
Contributor

codehag commented Aug 21, 2017

I am closing this for now as we have removed the WTR

@codehag codehag closed this as completed Aug 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants