Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Rewrite buster tests as tape tests #674

Merged
merged 22 commits into from
Sep 21, 2019
Merged

Rewrite buster tests as tape tests #674

merged 22 commits into from
Sep 21, 2019

Conversation

vweevers
Copy link
Member

@vweevers vweevers commented Sep 15, 2019

Closes #650. Closes #497. WIP. Has two goals:

  • Remove need for deprecated dependencies (referee, samsam)
  • Align test suite with abstract-leveldown's, so that they may be merged later on.

@vweevers vweevers added semver-patch Bug fixes that are backward compatible test Improvements or additions to tests labels Sep 15, 2019
@vweevers vweevers marked this pull request as ready for review September 19, 2019 18:12
@vweevers
Copy link
Member Author

Next up: #273, though for a different reason: to be able to call the test suite on an abstract-leveldown db. That will also require further refactoring of the tests, splitting them by features as well as separating "integration tests" (that don't operate on a testCommon.factory() db) from the test suite.

;[true, false].forEach(function (encode) {
;[true, false].forEach(function (deferredOpen) {
;[true, false].forEach(function (delayedPut) {
makeTest(test, encode, deferredOpen, delayedPut)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

Copy link
Member

@ralphtheninja ralphtheninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woha. Nice work! Not going through this in detail, just skimming it.

@vweevers
Copy link
Member Author

Not going through this in detail

I completely understand 😉

@vweevers
Copy link
Member Author

Because it's a lot, I'd like to keep the commits, not squash.

@vweevers vweevers merged commit 91ff0e7 into master Sep 21, 2019
@vweevers vweevers deleted the rewrite-tests branch September 21, 2019 06:46
@vweevers vweevers mentioned this pull request Sep 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
semver-patch Bug fixes that are backward compatible test Improvements or additions to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rewrite buster tests as tape tests Revive create-stream-vs-put-racecondition.js test
2 participants