159 lines
7.0 KiB
HTML
159 lines
7.0 KiB
HTML
<h1 id="awesome-ava-awesome">Awesome AVA <a
|
|
href="https://awesome.re"><img src="https://awesome.re/badge.svg"
|
|
alt="Awesome" /></a> <a
|
|
href="https://avajs.dev"><img src="https://github.com/avajs/ava/raw/main/media/header.png" width="280" align="right" alt="AVA"></a></h1>
|
|
<blockquote>
|
|
<p><a href="https://avajs.dev">AVA</a> is a minimal & futuristic
|
|
JavaScript test runner</p>
|
|
</blockquote>
|
|
<h2 id="contents">Contents</h2>
|
|
<ul>
|
|
<li><a href="#articles">Articles</a></li>
|
|
<li><a href="#videos">Videos</a></li>
|
|
<li><a href="#packages">Packages</a></li>
|
|
<li><a href="#works-with-ava">Works with AVA</a></li>
|
|
<li><a href="#tutorials">Tutorials</a></li>
|
|
<li><a href="#miscellaneous">Miscellaneous</a></li>
|
|
<li><a href="#support">Support</a></li>
|
|
</ul>
|
|
<h2 id="articles">Articles</h2>
|
|
<ul>
|
|
<li><a
|
|
href="https://github.com/avajs/ava/tree/main/docs/recipes">Recipes</a></li>
|
|
<li><a
|
|
href="https://shift.infinite.red/testing-the-bejeezus-out-of-react-native-apps-with-ava-330f51f8f6c3">Testing
|
|
React Native apps with AVA</a></li>
|
|
<li><a
|
|
href="https://semaphoreci.com/community/tutorials/getting-started-with-create-react-app-and-ava">Getting
|
|
Started with Create React App and AVA</a></li>
|
|
<li><a
|
|
href="https://wecodetheweb.com/2016/04/19/effortless-unit-testing-with-ava/">Effortless
|
|
unit testing with AVA</a></li>
|
|
</ul>
|
|
<h2 id="videos">Videos</h2>
|
|
<ul>
|
|
<li><a href="http://jsair.io/ava">JavaScript Air episode with the AVA
|
|
team</a></li>
|
|
<li><a href="https://www.youtube.com/watch?v=RxLW6-3dk5A">Testing React
|
|
components with AVA</a></li>
|
|
</ul>
|
|
<h2 id="packages">Packages</h2>
|
|
<ul>
|
|
<li><a
|
|
href="https://github.com/avajs/eslint-plugin-ava">eslint-plugin-ava</a>
|
|
- ESLint rules.</li>
|
|
<li><a
|
|
href="https://github.com/jamestalmage/ava-codemods">ava-codemods</a> -
|
|
Codemods that simplifies upgrading to newer versions.</li>
|
|
<li><a href="https://github.com/avajs/sublime-ava">sublime-ava</a> -
|
|
Snippets for Sublime.</li>
|
|
<li><a href="https://github.com/avajs/atom-ava">atom-ava</a> - Snippets
|
|
for Atom.</li>
|
|
<li><a
|
|
href="https://github.com/samverschueren/vscode-ava">vscode-ava</a> -
|
|
Snippets for Visual Studio Code.</li>
|
|
<li><a
|
|
href="https://github.com/ahmedelgabri/vim-ava-snippets">vim-ava-snippets</a>
|
|
- Snippets for Vim.</li>
|
|
<li><a href="https://github.com/sotojuan/redux-ava">redux-ava</a> - Test
|
|
helpers for Redux.</li>
|
|
<li><a
|
|
href="https://github.com/conorhastings/redux-test-recorder">redux-test-recorder</a>
|
|
- Generate AVA tests for Redux reducers in a React app.</li>
|
|
<li><a href="https://github.com/avajs/gulp-ava">gulp-ava</a> - Run tests
|
|
with Gulp.</li>
|
|
<li><a href="https://github.com/avajs/grunt-ava">grunt-ava</a> - Run
|
|
tests with Grunt.</li>
|
|
<li><a href="https://github.com/pine/fly-ava">fly-ava</a> - Run tests
|
|
with Fly.</li>
|
|
<li><a href="https://github.com/start-runner/ava">start-ava</a> - Run
|
|
tests with Start.</li>
|
|
<li><a href="https://github.com/unlight/sigh-ava">sigh-ava</a> - Run
|
|
tests with Sigh.</li>
|
|
<li><a
|
|
href="https://github.com/jfmengels/eslint-ava-rule-tester">eslint-ava-rule-tester</a>
|
|
- Test <a href="https://github.com/eslint/eslint">ESLint</a> plugins
|
|
with AVA.</li>
|
|
<li><a
|
|
href="https://github.com/jfmengels/jscodeshift-ava-tester">jscodeshift-ava-tester</a>
|
|
- Test <a href="https://github.com/facebook/jscodeshift">jscodeshift</a>
|
|
codemods with AVA.</li>
|
|
<li><a
|
|
href="https://github.com/avajs/ava-preact-init">ava-preact-init</a> -
|
|
Set up AVA for Preact.</li>
|
|
<li><a href="https://github.com/unional/ava-fixture">ava-fixture</a> -
|
|
Run fixture/baseline tests.</li>
|
|
<li><a
|
|
href="https://github.com/dubzzz/ava-fast-check">ava-fast-check</a> -
|
|
Property based testing.</li>
|
|
<li><a
|
|
href="https://github.com/cdaringe/ava-fixture-docker-db">ava-fixture-docker-db</a>
|
|
- Add docker databases to your test contexts.</li>
|
|
<li><a
|
|
href="https://github.com/Wildhoney/ava-webcomponents">ava-webcomponents</a>
|
|
- Testing web components via Puppeteer.</li>
|
|
<li><a href="https://github.com/yovasx2/ava-tap-json">ava-tap-json</a> -
|
|
JSON output with AVA compatibility.</li>
|
|
<li><a
|
|
href="https://github.com/seamapi/ava-typescript-worker">ava-typescript-worker</a>
|
|
- use TypeScript in shared workers</li>
|
|
<li><a href="https://github.com/seamapi/ava-postgres">ava-postgres</a> -
|
|
get a fresh Postgres database for every test</li>
|
|
<li><a href="https://github.com/TomerAberbach/pava">pava</a> -
|
|
Parameterized testing.</li>
|
|
</ul>
|
|
<h2 id="works-with-ava">Works with AVA</h2>
|
|
<ul>
|
|
<li><a href="https://github.com/electron/spectron#with-ava">Spectron</a>
|
|
- Test Electron apps using AVA and ChromeDriver.</li>
|
|
<li><a href="https://github.com/Hypercubed/chuhai">Chūhai</a> - Run and
|
|
verify benchmarks using AVA and benchmark.js.</li>
|
|
<li><a
|
|
href="https://github.com/andywer/leakage#usage-with-ava--tape">Leakage</a>
|
|
- Memory leak testing.</li>
|
|
<li><a href="https://github.com/sindresorhus/pify">pify</a> - Promisify
|
|
callback-style functions for better testing. <a
|
|
href="https://github.com/sindresorhus/registry-url/blob/eb1f0e01722208366c9199b96235fd043ec162ae/test.js#L6">(Example)</a></li>
|
|
<li><a href="https://github.com/sindresorhus/p-event">p-event</a> -
|
|
Promisify an event. <a
|
|
href="https://github.com/sindresorhus/gulp-debug/blob/4db5871594742a346d17aa9b34f43c87d4e54934/test.js#L42-L44">(Example)</a></li>
|
|
<li><a href="https://github.com/sindresorhus/execa">execa</a> - Test
|
|
your CLI tools. <a
|
|
href="https://github.com/sindresorhus/active-win-cli/blob/d01813762b304102d1fee147855481e9f38c8517/test.js#L5-L6">(Example)</a></li>
|
|
<li><a href="https://github.com/sindresorhus/delay">delay</a> - Add
|
|
delays to your tests. <a
|
|
href="https://github.com/sindresorhus/p-queue/blob/a3a5cadefc2b54269f4939bb34e8dc180c3bd800/test.js#L39">(Example)</a></li>
|
|
<li><a href="https://github.com/sindresorhus/get-stream">get-stream</a>
|
|
- Test the output of streams. <a
|
|
href="https://github.com/sindresorhus/ora/blob/4ceeedd51795bb88a8033229d198e70cd8a2aff7/test.js#L33-L35">(Example)</a></li>
|
|
<li><a
|
|
href="https://github.com/lukechilds/create-test-server">create-test-server</a>
|
|
- Creates a minimal Express server for testing. <a
|
|
href="https://github.com/lukechilds/clone-response/blob/11f5870e4e1b039e2d9a8f1f72d45fd1b9706bf3/test/clone-response.js">(Example)</a></li>
|
|
</ul>
|
|
<h2 id="tutorials">Tutorials</h2>
|
|
<ul>
|
|
<li><a href="http://silvenon.com/testing-react-and-redux/">Testing a
|
|
React & Redux Codebase</a> - A comprehensive series of tutorials
|
|
about testing a React and Redux project using AVA.</li>
|
|
</ul>
|
|
<h2 id="miscellaneous">Miscellaneous</h2>
|
|
<ul>
|
|
<li><a
|
|
href="https://www.redbubble.com/people/sindresorhus/works/30330590-ava-logo">Stickers,
|
|
t-shirts, etc</a> - The products are sold at production price without
|
|
any markup.</li>
|
|
<li><a href="https://speakerdeck.com/novemberborn/ava-at-lnug">Slides
|
|
from AVA talk at London Node User Group</a> - By core team member <a
|
|
href="https://github.com/novemberborn">Mark Wubben</a>.</li>
|
|
</ul>
|
|
<h2 id="support">Support</h2>
|
|
<ul>
|
|
<li><a href="https://github.com/avajs/ava/discussions">Github
|
|
Discussions</a></li>
|
|
<li><a href="https://stackoverflow.com/questions/tagged/ava">Stack
|
|
Overflow</a></li>
|
|
<li><a href="https://twitter.com/ava__js">Twitter</a></li>
|
|
</ul>
|
|
<p><a href="https://github.com/avajs/awesome-ava">ava.md Github</a></p>
|