-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update ava to the latest version 🚀 #35
base: master
Are you sure you want to change the base?
Conversation
Version 0.22.0 just got published.Update to this version instead 🚀 Release Notes0.22.0There's but a few commits in this release, but we've made a big change to how AVA manages its test workers 👩🏼🔬👨🏼🏭👨🏿🚀👨🏻⚕️👩🏽💼. HighlightsDefault concurrencyWe now cap the number of concurrent workers to the number of CPU cores on your machine. Previously AVA started workers for each test file, so if you had many test files this could actually bring things to a halt. 465fcec You can still customize the concurrency by setting the Unfortunately this does change how
|
Version 0.23.0 just got published.Update to this version instead 🚀 Release Notes0.23.0Highlights 🕴
|
Version 0.24.0 just got published.Update to this version instead 🚀 Release Notes0.24.0Highlights 💡This is a pretty small release, but a great one if you're solely developing for Node.js 8.3 or above. You can now use object rest/spread properties in test files without any further Babel configuration. Note that if you're running tests on older versions of Node.js you'll still need to add the relevant Babel plugins, since this new language feature has not yet reached stage 4. 37c9122 Miscellaneous 🕯
All changes 📚Thanks 💌💖 Huge thanks to @jedmao, @Lifeuser, @mightyiam, @ahmadawais and @codeslikejaggars for helping us with this release. We couldn’t have done it without you! Get involved ✌️We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide. CommitsThe new version differs by 12 commits.
See the full diff |
Version 0.25.0 just got published.Update to this version instead 🚀 CommitsThe new version differs by 15 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 1.0AVA 1.0 🚀Back in January we started work on the 1.0 release, taking the opportunity to upgrade to Babel 7 and follow its beta releases. It's been a year where we made massive improvements to AVA. It's also been a year with many exciting events in our personal lives. Be it honeymoons & weddings, work & friends, naturalizations and international relocations. So, we're done. Or, rather, we're just beginning. Testing can be a drag. AVA helps you get it done. Its concise API, detailed error output, embrace of new language features and process isolation let you write tests more effectively. So you can ship more awesome code or do non-programming things. Starting now we'll push out patches and new features more regularly. And, when the time comes, ship a 2.0 and a 3.0 and so forth. If you like what we're doing, why not try and contribute? We're a friendly bunch and we could use your help to make AVA even better. We couldn't have gotten here without the nearly one hundred people who've contributed more, and the many more who suggested improvements, reported bugs and provided feedback. And, of course, everyone who's used AVA. Thank you for your enthusiasm and support. What's new & improvedAssertionsNew
|
Update to this version instead 🚀 Release Notes for 1.1.01.1.0New featuresAVA now exports a import test from 'ava'; import {meta} from 'ava'; This is useful in helpers that need to know the test file. bccd297 Bug fixes and other improvements
All changes 📚Thanks 💌💖 Huge thanks to @fitztrev, @forresst, @astrob0t, @pearofducks, @coreyfarrell and @dflupu for helping us with this release. We couldn’t have done it without you! Get involved ✌️We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide. CommitsThe new version differs by 9 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 1.2.0New featuresYou can now set a timeout for test themselves. The test will fail if this timeout is exceeded. The timeout is reset each time an assertion is made: test('foo', t => { t.timeout(100); // 100 milliseconds // Write your assertions here }); AVA also has a global timeout feature. The mini reporter now logs tests that were pending when those timeouts occur. Additionally, if you interrupt a test using ctrl+c we'll now also show the pending tests. 2b60556 Thank you @dflupu for your hard work on this! Bug fixes and other improvements
All changes 📚Thanks 💌💖 Huge thanks to @anishkny, @CrispusDH, @dflupu and @niktekusho for helping us with this release. We couldn’t have done it without you! Get involved ✌️We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide. CommitsThe new version differs by 11 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 1.2.1This is a bug fix release. In very large projects, the options send to worker processes would exceed limits on process argument size. We're now sending the options via the inter-process communication channel. 3078892 All changes 📚Get involved ✌️We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide. |
Update to this version instead 🚀 Release Notes for 1.3.0Bug fixes
New featuresYou can now use All changesThanksThank you @itaisteinherz, @jdalton, @kagawagao, @KompKK, @SleeplessByte, @Chrisyee22 and @qlonik for helping us with this release. We couldn't have done this without you! Get involvedWe welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide. CommitsThe new version differs by 12 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 1.3.1Bug fixes
New featuresYou can now use All changesThanksThank you @itaisteinherz, @jdalton, @kagawagao, @KompKK, @SleeplessByte, @Chrisyee22 and @qlonik for helping us with this release. We couldn't have done this without you! Get involvedWe welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide. |
Update to this version instead 🚀 Release Notes for 1.4.0Focusing
|
Update to this version instead 🚀 Release Notes for 1.4.1Focusing
|
Update to this version instead 🚀 Release Notes for 2.0.0Breaking changesAVA now requires at least Node.js 8.9.4Per the Node.js release schedule, the 6.x releases reach end of live on April 30th. Consequently we've removed support in AVA. We are now testing with Node.js 12 though. 3a4afc6 Test file and helper selectionWe've been working on simplifying how test files and helpers are selected. First off, the The AVA used to treat all files inside a { "ava": { "helpers": [ "**/helpers/**/*" ] } } Test files starting with an underscore are still recognized as helpers. Files inside AVA now also selects files ending with The CLI now only takes file paths, not glob patterns. We'd like some help updating our ESLint plugin as well. Snapshots in CIWhen you run tests locally and add a new snapshot, AVA automatically updates the With this release, AVA will fail the Assertion messages must be stringsAVA now enforces assertion messages to be strings. The message is only used when the assertion fails, and non-string values may cause AVA to crash. You may see test failures if you were accidentally passing a non-string message. 49120aa Flow type definitionsWe've decided to remove the Flow type definitions from AVA itself. We don't have anybody to maintain them and consequently they've become a blocker when adding features to AVA. c633cf0 We've set up a new repository from which we'll publish the definitions, but we need your help setting it up. If you use AVA and Flow, please join us in avajs/flow-typed#1. Observable typingTest implementations may return observables. We've updated our TypeScript definition to require these to have a New featuresConfigurable printing depthAVA now uses the Specify environment variables in your AVA configYou can now specify environment variables in your config, using the Other changes
All changesThanksThank you @StoneCypher, @LukasHechenberger, @lo1tuma, @htor, @alexisfontaine and @grnch. We couldn't have done this without you! Get involvedWe welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide. CommitsThe new version differs by 36 commits.
There are 36 commits in total. See the full diff |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚 Find out how to migrate to Snyk at greenkeeper.io
|
Version 0.21.0 of ava just got published.
The version 0.21.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of ava.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
0.21.0This is primarily a bug fix release, but some features did sneak in:
npm
2b4e35dThis release includes the following patches:
t.deepEqual()
and magic assert diffs 9e4ee3fBuffer
APIs that are unavailable in Node.js releases older than 4.5 d0fc8c9t.throws()
promise return value to beany
4a769f8test()
so macros are compatible with the latestflow-bin
e794e73Thanks
💖 Huge thanks to @wprater, @HippoDippo, @roperzh, @ArtemGovorov, @dancoates, @suchmaske, @ajtorres9 and @guillaumevincent for helping us with this release. We couldn’t have done it without you!
Get involved
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.
Commits
The new version differs by 80 commits.
a1afbe3
0.21.0
f9b865a
Update safe-buffer in package-lock.json
d0fc8c9
Avoid directly using newish Buffer APIs (#1448)
9e4ee3f
Upgrade concordance (#1450)
761f7f7
Update expected package.json version in readme (#1449)
e794e73
Resolve strict checking of function call arity (#1441)
1cbcb06
Revert "Handle package-lock.json churn"
8d981bf
Handle package-lock.json churn
c09462c
Assume npm 5.2.0 during development and CI
2b4e35d
Add an additional npm-based recipe for Jetbrains IDEs (#1444)
4a769f8
Update flow def for AssertContext.throws to match typescript def (#1443)
3f6e134
Include raw actual and expected objects in AssertionError (#1432)
0069a7e
Remove non-existent npm run script in maintaining.md (#1434)
e58e96e
Minor readme tweak (#1422)
5ae434a
Bump dependencies
There are 80 commits in total.
See the full diff
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴