Ruben Bridgewater
89e1f6f067
Improve code coverage by adding tests and removing unnecessary code
2015-09-03 22:26:01 +02:00
Bryce Baril
b1e51c8c7b
Update repository location to new GitHub org
2015-09-03 10:23:45 -07:00
Ruben Bridgewater
38265d5d0d
Merge pull request #809 from fintura/stuff
...
Remove some old stuff that is not needed anymore and fix js parser sending non-Errors as errors.
2015-09-02 22:22:32 +02:00
Ruben Bridgewater
62041c519f
Test for statements instead of matching them if test is enough
...
precompile regex
2015-09-02 22:13:07 +02:00
Ruben Bridgewater
19db6d1dad
Remove lib/util.js
2015-09-02 22:13:07 +02:00
Ruben Bridgewater
52db91c753
Fix js parser sending non-Errors
2015-09-02 22:13:07 +02:00
Ruben Bridgewater
614366ffeb
Merge pull request #811 from fintura/debug
...
Add util.debuglog instead of using different indidivudal styles for debugging
2015-09-02 21:58:07 +02:00
Ruben Bridgewater
e0d0649c60
Add fallback for node 0.10
...
Improve the fallback mode
2015-09-02 21:52:54 +02:00
Ruben Bridgewater
1eb30add66
Use util.debuglog instead of using different indidivudal styles for debugging
2015-09-02 21:49:11 +02:00
Ruben Bridgewater
954f1f30df
Merge pull request #808 from fintura/refactor-tests
...
Refactor the test suite and remove duplicated code
2015-09-02 21:16:23 +02:00
Ruben Bridgewater
92839c6738
Merge pull request #812 from fintura/readme
...
Update readme
2015-09-02 19:45:16 +02:00
Ruben Bridgewater
f611a8758f
Merge pull request #813 from fintura/dead-code
...
Remove dead code
2015-09-02 19:35:31 +02:00
Ruben Bridgewater
9c650c805e
Merge pull request #706 from serv/master
...
Removed unnecessary indentations and added some js syntax highlighting
2015-09-02 19:33:04 +02:00
Ruben Bridgewater
4aeaf0e6b9
Remove dead code
2015-09-02 18:32:23 +02:00
Ruben Bridgewater
37866b0445
Update readme
2015-09-02 18:07:34 +02:00
Ruben Bridgewater
a5938f3ade
Refactor the test suite and remove duplicated code
2015-09-01 23:28:41 +02:00
Benjamin E. Coe
ac63e852d3
Merge pull request #805 from NodeRedis/credit-where-credit-is-due
...
make sure we give @raydog credit in the changelog.md
2015-08-30 18:16:20 -07:00
Benjamin Coe
41d97526e7
make sure we give @raydog credit in the changelog.md
2015-08-30 18:09:44 -07:00
Benjamin Coe
25b4ddafaa
URL connection strings. new release process \o/ see changelog.md for more details: https://github.com/NodeRedis/node_redis/pull/804
v1.0.0
2015-08-30 12:50:55 -07:00
Benjamin E. Coe
b38df19082
Merge pull request #804 from NodeRedis/v1.0.0-changelog
...
update changelog for v1.0.0 release
2015-08-30 12:36:47 -07:00
Benjamin Coe
7cb998352a
slight grammar nits
2015-08-30 12:34:25 -07:00
Benjamin Coe
c0ab99e4ca
give Blain some credit
2015-08-30 12:26:19 -07:00
Benjamin Coe
aa14d27d4a
added changelog for v1.0.0 release
2015-08-30 12:24:33 -07:00
Benjamin E. Coe
ba3c7094f6
Merge pull request #802 from jomo/patch-1
...
Remove redundant check
2015-08-29 18:01:21 -07:00
Benjamin E. Coe
ec4c41f055
Merge pull request #800 from NodeRedis/794-fix
...
upgrade hiredis so that tests work on newest iojs
2015-08-29 18:00:46 -07:00
jomo
338b3cd9d8
Remove redundant check
...
If the first operand of the disjunction (`!obj.loading`) is false, `obj.loading` is truthy.
Thus there is no need to test it again in second operand.
2015-08-30 02:37:26 +02:00
Benjamin E. Coe
83a1be24a2
Merge pull request #801 from NodeRedis/typo-in-test
...
had descriptions of tests swapped around
2015-08-29 14:57:55 -07:00
Benjamin Coe
417c8c1247
had descriptions of tests swapped around
2015-08-29 14:55:01 -07:00
Benjamin Coe
1e6ced4d5c
cargo-culting node-hiredis toolchain settings
2015-08-29 14:42:35 -07:00
Benjamin E. Coe
ca0e7dd4e8
Merge pull request #736 from Radagaisus/patch-2
...
Update changelog.md typo handlign -> handling
2015-08-29 14:34:17 -07:00
Benjamin Coe
010a72710f
new hiredis works with iojs-v3+
2015-08-29 14:31:50 -07:00
Benjamin E. Coe
9796209550
Merge pull request #764 from Anubisss/master
...
A little optimization in a function if the client is closing.
2015-08-29 14:16:30 -07:00
Benjamin E. Coe
6b1e789337
Merge pull request #749 from danielbprice/master
...
Issue #512 send_command("monitoring") is doomed to fail
2015-08-27 09:48:11 -07:00
Daniel Price
575ade907c
Issue #512 send_command("monitoring") is doomed to fail
2015-08-21 14:57:48 -07:00
David Vas
86f1cef781
Merge remote-tracking branch 'node_redis/master'
2015-08-18 13:09:41 +02:00
Benjamin E. Coe
323d6a2fda
Merge pull request #796 from NodeRedis/753-example
...
added test for psubscribe
2015-08-16 18:06:34 -07:00
Benjamin Coe
d1558eddc2
add test demonstrating psubscribe, and pmessage
2015-08-16 18:02:26 -07:00
Benjamin E. Coe
e2e507eed2
Merge pull request #793 from NodeRedis/squash-mocha-work
...
porting tests from hand-rolled artisinal test-suite to mocha
2015-08-15 13:28:54 -07:00
Benjamin Coe
5d83e64d00
fixed up our one commented out test, based on @erinspice's code review
2015-08-15 13:25:03 -07:00
Benjamin Coe
51b1ba2bef
finished porting blpop, expire, mset, slowlog, sunionstore, ttl
2015-08-15 13:00:05 -07:00
Erin Spiceland
65db5dbefe
Clarify this one test is only applicable for IPv4.
2015-08-15 11:51:37 -05:00
Benjamin Coe
2fd3b46835
ported sdiff, sdiffstore, sinterstore, smembers, smove, spop, sunion, client.monitor
2015-08-14 22:30:58 -07:00
Benjamin Coe
ce7f21fc34
ported sdiff, sdiffstore, sinterstore, smembers, smove, spop, sunion, client.monitor
2015-08-14 22:30:51 -07:00
Benjamin Coe
a0832c3744
slight refactor from code review
...
smoke test large list of commands
ported more tests to mocha, some slight cleanup in tests
move sinon and uuid to dev dependencies
finished porting eval tests over to mocha
rebased mocha testing branch with master
ported client and script tests
ported watch tests
ported detect_buffers tests
ported unref tests
ported auth tests over to mocha
ported idle and no_delay tests
ported hlen, hset
continuing marching forward
ported hincrby, sinter, sort, pubsub tests. improved logic in redis-process, I was still occasionally having issues where redis failed to exit.
switch back to default test command
ported del, exists, hlen, keys, randomkey, type
cleanup based on what I've learned so far from refactor. we now start and stop redis less often. moved tests to their final resting place
finished porting node_redis client tests
ported hgetall, mget, msetnx, rename, renamenx, setex, setnx
ported hgetall, mget, msetnx, rename, renamenx, setex, setnx
ported queue tests to mocha
amalgamated some of the helper logic
ported sadd, scard, sismember, srem, utf-8
2015-08-14 21:31:18 -07:00
Erin Spiceland
04fe11b0f5
Add simple tests for generated commands.
2015-08-14 21:31:15 -07:00
Benjamin Coe
071b3ff27c
moved tests for specific commands into the /commands sub-folder, put a ton of tests around the multi command
2015-08-14 21:31:15 -07:00
Erin Spiceland
eaca486ab1
Add Mocha tests for the "set" method.
...
Fix error in organization of connection Mocha tests.
Clarify some test descriptions in 'set' Mocha tests.
Add some tests for mset.
Remove old 'set' tests.
Add some Mocha tests for 'get'.
Add tests for 'getset'.
Add tests for 'dbsize'.
Add 'flushdb' tests.
Add tests for 'incr'.
2015-08-14 21:31:13 -07:00
Benjamin Coe
1e9613fa8f
slight tweak to test command
2015-08-14 21:31:12 -07:00
Erin Spiceland
3aaef47756
Fix bug in mocha tests Redis shutdown which expected exit code to eq 0.
...
Move a miscategorized select test into the correct describe.
2015-08-14 21:31:10 -07:00
Benjamin Coe
5da083322d
fixed up some tests, changed how redis spawns
2015-08-14 21:31:09 -07:00