Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Conversation

@bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Oct 31, 2018

Related to issue #1209

Here's a proposal for basic manual test harness to regression test React minor releases for versions 16.0-16.7. (We can add support for older v14 and v15 versions too if we'd like.)

The v16 test app progressively adds React features based on the current minor version so that we can share code between various minor versions.

To use the test harness:

# Cross origin requests are not supported for the file protocol.
# Since the HTML files share a single script file, use http:
pushstate-server .

# View all of the test versions via iframes to test DevTools:
open http://localhost:9000/test/regression/

The test page will look like this:
screen shot 2018-11-01 at 9 20 15 am

And DevTools should show all of the versions loaded in their various iframes:
screen shot 2018-11-01 at 9 15 52 am

@bvaughn bvaughn requested a review from gaearon October 31, 2018 22:41
@bvaughn bvaughn changed the title Added manual test harnesses for React 16+ minors Added manual test harnesses for React 16.0-16.7 Oct 31, 2018
@bvaughn
Copy link
Contributor Author

bvaughn commented Nov 1, 2018

Ooh, I think I can make this better using an iframe...

@bvaughn bvaughn force-pushed the manual-test-harness branch from 5251300 to f5e3e85 Compare November 1, 2018 16:15
@bvaughn bvaughn force-pushed the manual-test-harness branch from 4f6a64f to 0697bf4 Compare November 1, 2018 16:55
@bvaughn bvaughn merged commit 179ec00 into facebook:master Nov 1, 2018
@bvaughn bvaughn deleted the manual-test-harness branch November 1, 2018 17:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants