-
Notifications
You must be signed in to change notification settings - Fork 12
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
Various tests improvements #18
Merged
paolochiodi
merged 23 commits into
senecajs:master
from
paolochiodi:follow-specifications
Dec 10, 2015
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c5c9097
Refactor to be order independant
paolochiodi aed8a12
Fix remove behaviour according to #15
paolochiodi c074ed3
proper merge behaviour
paolochiodi 13397ab
tests for mandatory merge option
paolochiodi eb5258c
allow null or undefined for missing attributes
paolochiodi 2ec67ae
change sql tests style
paolochiodi aa186e5
cleanup and uniform style
paolochiodi ce9bb7d
follow the standard style
paolochiodi 72279e7
update dependencies and add proper seneca dependencies
paolochiodi 7f48943
remove unneded test runner
paolochiodi 3a87ff1
add tests for invalid skip and limit
paolochiodi c2d55fd
make updates work like upserts
paolochiodi acc3a65
support opaque ids on list
paolochiodi c416e7d
tests for common save mistakes
paolochiodi 38ace29
test for native support
paolochiodi 00acb82
add tests around attributes mixing between entity and query
paolochiodi 21128d3
fix error on id
paolochiodi d2c106e
assert correct behaviour for load$, list$ and remove$ without query
paolochiodi 577434d
better test for no query on load$
paolochiodi 8e460bd
fix typo
paolochiodi 0592375
use seneca merge instance to setup tests
paolochiodi d3bfcf2
Make sure merge$ command doesn't leak
paolochiodi bd32ad9
update seneca dependency and explicitly require mem store
paolochiodi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should move into devDependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure here. These are dependencies needed to run this package, not to test it.
That's because this package is kind of meta in that it is used to run tests. seneca-store-test will be among the devDependencies of other stores, but async and chai are required to make this work.
In fact I actually think I should move even lab here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regular dependencies is fine here. The package is a test package so these are its direct dependencies.