Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run all tests in browsers, not just one test file, and also do that in CI #78

Closed
cinnamon-bun opened this issue Feb 23, 2021 · 1 comment

Comments

@cinnamon-bun
Copy link
Member

cinnamon-bun commented Feb 23, 2021

This is a followup to #2 in which we set up a duct-tape way. to run just one of the test files in a browser using Karma. But we should be running all the test files, and it should work in CI also.

The trouble seems to be that we can't make a browserify bundle from all our test files at once into a single file.

Idea: Use browser-run to run our tests from the command line in a headless browser.

See here for an example project that's using it:

https://github.com/RangerMauve/js-ipfs-fetch/blob/default/package.json

@cinnamon-bun cinnamon-bun changed the title Run all tests in browsers Run ALL tests in browsers at once, and also in CI Mar 22, 2021
@cinnamon-bun cinnamon-bun changed the title Run ALL tests in browsers at once, and also in CI Run all tests in browsers, not just one file, and also do that in CI Mar 22, 2021
@cinnamon-bun cinnamon-bun added this to the Acorn milestone Mar 22, 2021
@cinnamon-bun cinnamon-bun changed the title Run all tests in browsers, not just one file, and also do that in CI Run all tests in browsers, not just one test file, and also do that in CI Mar 22, 2021
@sgwilym
Copy link
Contributor

sgwilym commented Feb 17, 2022

Duplicate of #227

@sgwilym sgwilym marked this as a duplicate of #227 Feb 17, 2022
@sgwilym sgwilym closed this as completed Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants