![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Test your JavaScript in 800+ browsers.
Airtap is an easy way to test your JavaScript in browsers, using a TAP-producing harness like tap
or tape
. Start testing your code locally in seconds and seamlessly move to cloud based browsers powered by Sauce Labs for better coverage.
Airtap is different than other cross browser test runners in its simplicity and ability to easily run your test suite in many browsers without having them installed locally. It lets you iterate quickly during development and provide good browser coverage before release without worrying about missing a supported browser.
Don't just claim your JavaScript supports "all browsers", prove it with tests!
This project is a fork of the amazing Zuul. Please note that some documentation may be out of date. Anyone is welcome and encouraged to contribute via a pull request.
With npm do:
npm install airtap --save-dev
If you are upgrading or migrating from Zuul: please see the upgrade guide.
Airtap works out of the box with tap
and tape
. If you're already using these, setup will be trivial.
Airtap has 3 modes of operation: locally, cloud browsers, and continuous integration. You should make sure that airtap is working locally before you try to run the other two.
Airtap will do all the hard work of setting up your test harness, support files, and cloud browser integration so you can just focus on writing your tests.
All you need is an entry point for your tests like test.js
. When iterating on your tests during development, simply use --local
mode to see your tests run in a browser.
See the included example for a simple test. Run it by issuing the following command in the example directory:
airtap --local test.js
It will print a URL that you can open in any local browser to run the tests. Make changes to the code as needed. No need to restart airtap, just refresh your browser.
The reason we go through all this trouble in the first place is to seamlessly run our tests against all those browsers we don't have installed. Luckily, Sauce Labs runs quite a few browsers and we can easily task airtap to test on those.
See the Cloud Testing guide to get your tests running in the cloud. TLDR: save your credentials to ~/.airtaprc
, add browsers to .airtap.yml
and issue:
airtap test.js
Airtap itself is also tested in Sauce Labs.
No testing setup would be complete without a badge for passing or failing tests. After making sure your tests all pass in the cloud from your local machine, we will configure our tests to pass from Travis when we commit changes. See the Travis CI guide.
Lots of folks! Collectively, packages that depend on Airtap get 100's of millions of downloads per month!
memdown
webtorrent
(and dependencies)simple-peer
buffer
stream-http
readable-stream
Airtap is an OPEN Open Source Project. This means that:
Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
See the contribution guide for more details.
Airtap consumes a YAML config file. See the airtap.yml guide for all of the goodies this file provides.
It includes advanced usage like how to run an additional server to support tests that make ajax requests.
Cross-browser Testing Platform and Open Source ♥ Provided by Sauce Labs.
MIT © Roman Shtylman, Zuul contributors and Airtap contributors.
[2.0.3] - 2019-07-12
humanize-duration
from ~3.16.0
to ~3.19.0
(#243, #250) (@vweevers)browserify
from ~16.2.3
to ~16.3.0
(#249) (@vweevers)express
from ~4.16.2
to ~4.17.0
(#248) (@vweevers)body-parser
from ~1.18.3
to ~1.19.0
(#247) (@vweevers)commander
from ~2.19.0
to ~2.20.0
(#245) (@vweevers)electron
devDependency from ^2.0.3
to ^5.0.6
(3abef6f
, #252) (@vweevers)standard
devDependency from ^12.0.0
to ^13.0.1
(#251) (@vweevers)highlight.js
in Greenkeeper (1653fda
) (@vweevers)tap-parser
in Greenkeeper (#244) (@goto-bus-stop)dee0f88
) (@vweevers)FAQs
Run TAP unit tests in 1789+ browsers
The npm package airtap receives a total of 893 weekly downloads. As such, airtap popularity was classified as not popular.
We found that airtap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.