Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/sinonjs/sinon
Test spies, stubs and mocks for JavaScript.
https://github.com/sinonjs/sinon
More todo
59484c2edad99b9db2f42f2e282e6c9ad9559e60 authored about 14 years ago by Christian Johansen <[email protected]>
59484c2edad99b9db2f42f2e282e6c9ad9559e60 authored about 14 years ago by Christian Johansen <[email protected]>
Update todo
c6113aa5a101ab4d3eba936662c1d98eb547a513 authored about 14 years ago by Christian Johansen <[email protected]>
c6113aa5a101ab4d3eba936662c1d98eb547a513 authored about 14 years ago by Christian Johansen <[email protected]>
Another bug in serverWithClock: consecutive respond() calls did not properly fire timeouts
64b09a90f4c46276b9c38fb2367419493d84f585 authored about 14 years ago by Christian Johansen <[email protected]>
64b09a90f4c46276b9c38fb2367419493d84f585 authored about 14 years ago by Christian Johansen <[email protected]>
Fix bug where fakeServerWithClock ticked clock _before_ responding to requests
b8a6d3f72e4421c48d937dc2faa676691d809b49 authored about 14 years ago by Christian Johansen <[email protected]>
b8a6d3f72e4421c48d937dc2faa676691d809b49 authored about 14 years ago by Christian Johansen <[email protected]>
Change timers.js to fake_timer.js for consistent naming
cc1b270cbd0a6f8573952d28e217a53449f19ebf authored about 14 years ago by Christian Johansen <[email protected]>
cc1b270cbd0a6f8573952d28e217a53449f19ebf authored about 14 years ago by Christian Johansen <[email protected]>
Changelog for 0.6.0
44cb8f0de63541890836cd0312a0777744992ac7 authored about 14 years ago by Christian Johansen <[email protected]>
44cb8f0de63541890836cd0312a0777744992ac7 authored about 14 years ago by Christian Johansen <[email protected]>
Change default sinon.config for sandboxed test functions to inject properties into test case
5dfb6b6abedf8397bc07940a7e5d53a3965680bb authored about 14 years ago by Christian Johansen <[email protected]>
5dfb6b6abedf8397bc07940a7e5d53a3965680bb authored about 14 years ago by Christian Johansen <[email protected]>
Fix FakeXMLHttpRequest overriding XMLHttpRequest in IE8. Requires work-around like timers
7bd738735f99506fc724d9b6ff9c0cb81ff1e7f9 authored about 14 years ago by Christian Johansen <[email protected]>
7bd738735f99506fc724d9b6ff9c0cb81ff1e7f9 authored about 14 years ago by Christian Johansen <[email protected]>
Clean up in sinon.test tests, reset sinon.config after tests have run
ac362f1c3ad5e981c43d2052e93799de8184a0e5 authored about 14 years ago by Christian Johansen <[email protected]>
ac362f1c3ad5e981c43d2052e93799de8184a0e5 authored about 14 years ago by Christian Johansen <[email protected]>
Keep'n JsLint up to date
70b1f580ba2e3a523ff51b2aa7328995ff40437b authored about 14 years ago by Christian Johansen <[email protected]>
70b1f580ba2e3a523ff51b2aa7328995ff40437b authored about 14 years ago by Christian Johansen <[email protected]>
First attempt at configurable behavior on sinon.test/sinon.sandbox
018dfb4e7fb0728fd6f6a5a38f246ac698a3d430 authored about 14 years ago by Christian Johansen <[email protected]>
018dfb4e7fb0728fd6f6a5a38f246ac698a3d430 authored about 14 years ago by Christian Johansen <[email protected]>
Use sandbox in place of collect in sinon.test
f25d8db812ca98e98df7743e101489d0f5d9b8aa authored about 14 years ago by Christian Johansen <[email protected]>
f25d8db812ca98e98df7743e101489d0f5d9b8aa authored about 14 years ago by Christian Johansen <[email protected]>
Finished tests for sandbox.inject
8b5a2c69d00ee57fd309f1854ccac4db5aad66a1 authored about 14 years ago by Christian Johansen <[email protected]>
8b5a2c69d00ee57fd309f1854ccac4db5aad66a1 authored about 14 years ago by Christian Johansen <[email protected]>
Start sandbox.inject
359403d182a27cca31dfaa3ca6b8b6a72f9c5aaf authored about 14 years ago by Christian Johansen <[email protected]>
359403d182a27cca31dfaa3ca6b8b6a72f9c5aaf authored about 14 years ago by Christian Johansen <[email protected]>
Add collection.inject to inject bound spy, stub and mock functions into arbitrary object
55159e57a35b0bb78bb20be9db431d734c668e60 authored about 14 years ago by Christian Johansen <[email protected]>
55159e57a35b0bb78bb20be9db431d734c668e60 authored about 14 years ago by Christian Johansen <[email protected]>
Add fake XHR and server to sandbox
475f4824f31ff3ce0b5e5949ee023c3f99e8fdec authored about 14 years ago by Christian Johansen <[email protected]>
475f4824f31ff3ce0b5e5949ee023c3f99e8fdec authored about 14 years ago by Christian Johansen <[email protected]>
Completed some tasks
d14eadc071662afb3d187d2b89389f0f72f95881 authored about 14 years ago by Christian Johansen <[email protected]>
d14eadc071662afb3d187d2b89389f0f72f95881 authored about 14 years ago by Christian Johansen <[email protected]>
Defensively call xhr.restore from server.restore
b67231e1fa45fe044759355bb3329b51db4a0cb3 authored about 14 years ago by Christian Johansen <[email protected]>
b67231e1fa45fe044759355bb3329b51db4a0cb3 authored about 14 years ago by Christian Johansen <[email protected]>
Bullet-proof clock resetting behavior in server with clock
8719d1f4ba15a177b2698ebd6e459b33660f28d8 authored about 14 years ago by Christian Johansen <[email protected]>
8719d1f4ba15a177b2698ebd6e459b33660f28d8 authored about 14 years ago by Christian Johansen <[email protected]>
Server should not crash if a request throws an exception in its onreadystatechange handler
875fc0ba95ed2d2753dae0d8b947a9f492bb6f4c authored about 14 years ago by Christian Johansen <[email protected]>
875fc0ba95ed2d2753dae0d8b947a9f492bb6f4c authored about 14 years ago by Christian Johansen <[email protected]>
serverWithClock should only restore the clock if it created it
263091498b7054b3e20e6f7eee376a4f103a1b52 authored about 14 years ago by Christian Johansen <[email protected]>
263091498b7054b3e20e6f7eee376a4f103a1b52 authored about 14 years ago by Christian Johansen <[email protected]>
Add sinon.serverWithClock to take over for a clock handling server. To be used with jQuery 1.3.x for successful XHR stubbing
3ab57655a7335dba32fdacbe6a8ace443b87d98a authored about 14 years ago by Christian Johansen <[email protected]>
3ab57655a7335dba32fdacbe6a8ace443b87d98a authored about 14 years ago by Christian Johansen <[email protected]>
Put the clock property on the actual stubbed global setTimeout
cad44951254dcb2567dc65bf6d023039808e2a08 authored about 14 years ago by Christian Johansen <[email protected]>
cad44951254dcb2567dc65bf6d023039808e2a08 authored about 14 years ago by Christian Johansen <[email protected]>
Remove timer handling from server object
fc3a4c5edf88880fd364cc5c8f983618de3a9496 authored about 14 years ago by Christian Johansen <[email protected]>
fc3a4c5edf88880fd364cc5c8f983618de3a9496 authored about 14 years ago by Christian Johansen <[email protected]>
Add fake xhr objects on the server object through a specialized method for easy overriding
ebab7cda68a88226f00eaa6c7adea98c18a9dce6 authored about 14 years ago by Christian Johansen <[email protected]>
ebab7cda68a88226f00eaa6c7adea98c18a9dce6 authored about 14 years ago by Christian Johansen <[email protected]>
timers-ie.js moved to timers_ie.js for file name consistency
2673e2b82ea0f477a21dbe3016c1243ab1cdc42f authored about 14 years ago by Christian Johansen <[email protected]>
2673e2b82ea0f477a21dbe3016c1243ab1cdc42f authored about 14 years ago by Christian Johansen <[email protected]>
Add clock as property on clock.setTimeout.clock
cf52ba8ad44676c32eb084d36fb294fc050b5ca3 authored about 14 years ago by Christian Johansen <[email protected]>
cf52ba8ad44676c32eb084d36fb294fc050b5ca3 authored about 14 years ago by Christian Johansen <[email protected]>
Respect'n jslint and catching bugs because of it
2b0c454585d19fdb932fb789457d611218309ccb authored about 14 years ago by Christian Johansen <[email protected]>
2b0c454585d19fdb932fb789457d611218309ccb authored about 14 years ago by Christian Johansen <[email protected]>
Trick IE into allowing Sinon to overwrite setTimeout and friends for the fake timers implementation
72f9e4e7135e133d56d653388f141bfb36fa46de authored about 14 years ago by Christian Johansen <[email protected]>
72f9e4e7135e133d56d653388f141bfb36fa46de authored about 14 years ago by Christian Johansen <[email protected]>
Add possibility for sinon.server to handle time. Added to make the server work without any extra cruft when working with jQuery 1.3.x, which polls the xhr object rather than using its onreadystatechange handler
b1ff8ec6b6864cb7f1a903e1edd1b8c8439798f0 authored about 14 years ago by Christian Johansen <[email protected]>
b1ff8ec6b6864cb7f1a903e1edd1b8c8439798f0 authored about 14 years ago by Christian Johansen <[email protected]>
Support 'fake' HTTP verbs in sinon.server. Allow respondWith to set up responses for DELETE and PUT requests that piggyback POST and send a _method parameter
14ee7e525358951c0c3e469903a0e3014f81cef9 authored about 14 years ago by Christian Johansen <[email protected]>
14ee7e525358951c0c3e469903a0e3014f81cef9 authored about 14 years ago by Christian Johansen <[email protected]>
Remove asciidoc experiment
941b99c9def5f952ccaf7b4fecb8a661bb04be7a authored about 14 years ago by Christian Johansen <[email protected]>
941b99c9def5f952ccaf7b4fecb8a661bb04be7a authored about 14 years ago by Christian Johansen <[email protected]>
Remove dead doc line
a9486a1aacae284ad31a7940ac74265a8713452c authored about 14 years ago by Christian Johansen <[email protected]>
a9486a1aacae284ad31a7940ac74265a8713452c authored about 14 years ago by Christian Johansen <[email protected]>
Rename sinon.server.processQueue to sinon.server.respond
41c1e5e81e942f265f03f9da8a59c36da1baea0d authored about 14 years ago by Christian Johansen <[email protected]>
41c1e5e81e942f265f03f9da8a59c36da1baea0d authored about 14 years ago by Christian Johansen <[email protected]>
Set status text for fake XHR requests
9351bd9ce48925b3a4c05f738fbbe37728d2a862 authored about 14 years ago by Christian Johansen <[email protected]>
9351bd9ce48925b3a4c05f738fbbe37728d2a862 authored about 14 years ago by Christian Johansen <[email protected]>
Branch stubs of XHR to fake ActiveXObject when it exist, and only fake XMLHttpRequest when it's available
315d7642a9c4b4e29cfa443a1ceb6ed5598c9a03 authored about 14 years ago by Christian Johansen <[email protected]>
315d7642a9c4b4e29cfa443a1ceb6ed5598c9a03 authored about 14 years ago by Christian Johansen <[email protected]>
Add abort and responseXML support for FakeXMLHttpRequest
0e43280c486ce1b1d8150928d11bef39bc01e702 authored about 14 years ago by Christian Johansen <[email protected]>
0e43280c486ce1b1d8150928d11bef39bc01e702 authored about 14 years ago by Christian Johansen <[email protected]>
Don't put isArray in sinon.js, it makes server depend on the library. Server should be entirely standalone
a86ed8c3174df44cf3c7982dab4afe987fbc5e1c authored over 14 years ago by Christian Johansen <[email protected]>
a86ed8c3174df44cf3c7982dab4afe987fbc5e1c authored over 14 years ago by Christian Johansen <[email protected]>
Don't respond to aborted requests
ca239cfb89c8b0e205cef81cf0070cb15d4ce0eb authored over 14 years ago by Christian Johansen <[email protected]>
ca239cfb89c8b0e205cef81cf0070cb15d4ce0eb authored over 14 years ago by Christian Johansen <[email protected]>
Add pattern matching for both URLs and methods in server
4b142780a46a5e38c01488ecc7ae874ad46b0634 authored over 14 years ago by Christian Johansen <[email protected]>
4b142780a46a5e38c01488ecc7ae874ad46b0634 authored over 14 years ago by Christian Johansen <[email protected]>
Work on server responses to XHR objects
3e8877b36a790bae46bb259ae560383e959206ee authored over 14 years ago by Christian Johansen <[email protected]>
3e8877b36a790bae46bb259ae560383e959206ee authored over 14 years ago by Christian Johansen <[email protected]>
Readme
af546528d6916d6b5d952b70fd53c71aabc85f21 authored over 14 years ago by Christian Johansen <[email protected]>
af546528d6916d6b5d952b70fd53c71aabc85f21 authored over 14 years ago by Christian Johansen <[email protected]>
Add interface to respond to requests in FakeXMLHttpRequest
316e6817f4575256611dc142ca07698d8ad9bd22 authored over 14 years ago by Christian Johansen <[email protected]>
316e6817f4575256611dc142ca07698d8ad9bd22 authored over 14 years ago by Christian Johansen <[email protected]>
Make step-tests accept optional server argument
8da058f49afbb178c4a565c6e1fcab3945bf9803 authored over 14 years ago by Christian Johansen <[email protected]>
8da058f49afbb178c4a565c6e1fcab3945bf9803 authored over 14 years ago by Christian Johansen <[email protected]>
Start implementing the Sinon fake server to manage fake XHR objects
a6e443899e3dfb59adcde19d7f984ddbd01010c4 authored over 14 years ago by Christian Johansen <[email protected]>
a6e443899e3dfb59adcde19d7f984ddbd01010c4 authored over 14 years ago by Christian Johansen <[email protected]>
Add FakeXMLHttpRequest.onCreate callback and hooks to clean it when restoring the global XHR stub
7dd54d719db4b709df9a7e35c4b643dbebcc8568 authored over 14 years ago by Christian Johansen <[email protected]>
7dd54d719db4b709df9a7e35c4b643dbebcc8568 authored over 14 years ago by Christian Johansen <[email protected]>
Add sinon.useFakeXMLHttpRequest to fake global XHR constructor(s)
d10d4c13e00125e0586a697f29195c0ece917cbe authored over 14 years ago by Christian Johansen <[email protected]>
d10d4c13e00125e0586a697f29195c0ece917cbe authored over 14 years ago by Christian Johansen <[email protected]>
Added note about rethrowing errors from sinon.test
2e9e0b5a9c0a321473ac529ebf69a29cc93acbec authored over 14 years ago by Christian Johansen <[email protected]>
2e9e0b5a9c0a321473ac529ebf69a29cc93acbec authored over 14 years ago by Christian Johansen <[email protected]>
Completed a few tasks
f95fb56d216f200254b43dee8741c533f970fa6b authored over 14 years ago by Christian Johansen <[email protected]>
f95fb56d216f200254b43dee8741c533f970fa6b authored over 14 years ago by Christian Johansen <[email protected]>
JsLint warnings
baa5672d9e4e515d3740e4ac96e77992f93fc0f4 authored over 14 years ago by Christian Johansen <[email protected]>
baa5672d9e4e515d3740e4ac96e77992f93fc0f4 authored over 14 years ago by Christian Johansen <[email protected]>
Add sandboxes, objects that extend collections and allows for custom fakes, currently timers
8aba46a4d2868ee369126d56d86b487e294f02c3 authored over 14 years ago by Christian Johansen <[email protected]>
8aba46a4d2868ee369126d56d86b487e294f02c3 authored over 14 years ago by Christian Johansen <[email protected]>
Make sinon.useFakeTimers accept names of methods to fake to support optionally faking Date constructor
68c15ff3048c6195d2413b35b9518ffcc274d1ca authored over 14 years ago by Christian Johansen <[email protected]>
68c15ff3048c6195d2413b35b9518ffcc274d1ca authored over 14 years ago by Christian Johansen <[email protected]>
Add sinon.collection.add, to add fakes from outside collection implementation (sandboxes)
80d9c4ca88792d7e8b42d894b7f0274e23a99b1a authored over 14 years ago by Christian Johansen <[email protected]>
80d9c4ca88792d7e8b42d894b7f0274e23a99b1a authored over 14 years ago by Christian Johansen <[email protected]>
Spies should mirror prototype property
a0a26a3fca5af2066b3e9d042eaa14dd8d0c9327 authored over 14 years ago by Christian Johansen <[email protected]>
a0a26a3fca5af2066b3e9d042eaa14dd8d0c9327 authored over 14 years ago by Christian Johansen <[email protected]>
Refactored collection - remove create method
d6db3ee01e1671385f2157c6b7ebdd162004e303 authored over 14 years ago by Christian Johansen <[email protected]>
d6db3ee01e1671385f2157c6b7ebdd162004e303 authored over 14 years ago by Christian Johansen <[email protected]>
Update todo
1652c15f5ccda6a1aa18090dd94999f377678b15 authored over 14 years ago by Christian Johansen <[email protected]>
1652c15f5ccda6a1aa18090dd94999f377678b15 authored over 14 years ago by Christian Johansen <[email protected]>
Add ideas as todos
67f8697b0014ee36074a278c6e24b1f95adc4fbd authored over 14 years ago by Christian Johansen <[email protected]>
67f8697b0014ee36074a278c6e24b1f95adc4fbd authored over 14 years ago by Christian Johansen <[email protected]>
BSD license
d057c1a9d77af70519a5833d535235bd74d7f889 authored over 14 years ago by Christian Johansen <[email protected]>
d057c1a9d77af70519a5833d535235bd74d7f889 authored over 14 years ago by Christian Johansen <[email protected]>
Specify that toSource is Date.toSource
84df47ce7ceb41ad8045e92655a04ad847c79ca3 authored over 14 years ago by Christian Johansen <[email protected]>
84df47ce7ceb41ad8045e92655a04ad847c79ca3 authored over 14 years ago by Christian Johansen <[email protected]>
Add tools to enable global fake timers
0254bb7dc59a0e2dadcc437d6f5445b6b280ad55 authored over 14 years ago by Christian Johansen <[email protected]>
0254bb7dc59a0e2dadcc437d6f5445b6b280ad55 authored over 14 years ago by Christian Johansen <[email protected]>
Linting
11181cfb0400420c3ddbbfc3b068e8dc5f9b1ad8 authored over 14 years ago by Christian Johansen <[email protected]>
11181cfb0400420c3ddbbfc3b068e8dc5f9b1ad8 authored over 14 years ago by Christian Johansen <[email protected]>
Update todo
17dae6473b05fd679e6e29f3f10bc0e108b1531d authored over 14 years ago by Christian Johansen <[email protected]>
17dae6473b05fd679e6e29f3f10bc0e108b1531d authored over 14 years ago by Christian Johansen <[email protected]>
Don't touch globals in setTimeout eval test
f5697527216659fd8b1bf722a73a908c467fc599 authored over 14 years ago by Christian Johansen <[email protected]>
f5697527216659fd8b1bf722a73a908c467fc599 authored over 14 years ago by Christian Johansen <[email protected]>
Accommodate IE6's less than stellar handling of arrays of undefined values
f54fee9cc9762ce922098f0a470373afe88ff03c authored over 14 years ago by Christian Johansen <[email protected]>
f54fee9cc9762ce922098f0a470373afe88ff03c authored over 14 years ago by Christian Johansen <[email protected]>
Pass stub tests in IE6
aabc0618f95415b847794cf21b811e42099115ac authored over 14 years ago by Christian Johansen <[email protected]>
aabc0618f95415b847794cf21b811e42099115ac authored over 14 years ago by Christian Johansen <[email protected]>
Finish implementation of fake Date constructor
83d120b90c810d0fe441f855121d1c7ea9481e53 authored over 14 years ago by Christian Johansen <[email protected]>
83d120b90c810d0fe441f855121d1c7ea9481e53 authored over 14 years ago by Christian Johansen <[email protected]>
Add notes on failing IE6 test cases that need attention
6a0e15fc263a92be9c3da553830e7dde217523f4 authored over 14 years ago by Christian Johansen <[email protected]>
6a0e15fc263a92be9c3da553830e7dde217523f4 authored over 14 years ago by Christian Johansen <[email protected]>
Improved step-test script
e97f47945d3f3dc84995304e98e2925cb095bcaa authored over 14 years ago by Christian Johansen <[email protected]>
e97f47945d3f3dc84995304e98e2925cb095bcaa authored over 14 years ago by Christian Johansen <[email protected]>
Add script to run tests one test case at a time, to track down misbehaving test cases
73a633b3f2caac7e53b197db50c009d3086c23dd authored over 14 years ago by Christian Johansen <[email protected]>
73a633b3f2caac7e53b197db50c009d3086c23dd authored over 14 years ago by Christian Johansen <[email protected]>
Mirror alwaysThrew
c1c9e88cc7ddc2138d606e5e7f68babd4c96b7e1 authored over 14 years ago by Christian Johansen <[email protected]>
c1c9e88cc7ddc2138d606e5e7f68babd4c96b7e1 authored over 14 years ago by Christian Johansen <[email protected]>
Add fake Date constructor to clock
851d74857660c579f58dc13b6d5ec515183e0d1e authored over 14 years ago by Christian Johansen <[email protected]>
851d74857660c579f58dc13b6d5ec515183e0d1e authored over 14 years ago by Christian Johansen <[email protected]>
Eval non-function timers
e1804281337e6e14a61441684447cd2748536415 authored over 14 years ago by Christian Johansen <[email protected]>
e1804281337e6e14a61441684447cd2748536415 authored over 14 years ago by Christian Johansen <[email protected]>
Initial doc tests with asciidoc
f9641205a572dbe4a3c386ccab379da13cf0e3f5 authored over 14 years ago by Christian Johansen <[email protected]>
f9641205a572dbe4a3c386ccab379da13cf0e3f5 authored over 14 years ago by Christian Johansen <[email protected]>
Track todo file
376e24014cc02c3049340eec1c3950773d13cf9a authored over 14 years ago by Christian Johansen <[email protected]>
376e24014cc02c3049340eec1c3950773d13cf9a authored over 14 years ago by Christian Johansen <[email protected]>
Take time on clock instances, don't use singletons
db02befa670f337fe0d1fe306591d381d81b352a authored over 14 years ago by Christian Johansen <[email protected]>
db02befa670f337fe0d1fe306591d381d81b352a authored over 14 years ago by Christian Johansen <[email protected]>
Remove recursion, use loop. Prepare test case for clock instances, no singletons please
2dd01a2e391664723ef24c7b949bd6ca426ddd13 authored over 14 years ago by Christian Johansen <[email protected]>
2dd01a2e391664723ef24c7b949bd6ca426ddd13 authored over 14 years ago by Christian Johansen <[email protected]>
Add fake timer implementation
f9979f39a959bb215ee4524eca93e8da3c2f05f6 authored over 14 years ago by Christian Johansen <[email protected]>
f9979f39a959bb215ee4524eca93e8da3c2f05f6 authored over 14 years ago by Christian Johansen <[email protected]>
Fix CommonJS exposure of modules
7d36c49b2fc04f360760de193627359dfec9ba0b authored over 14 years ago by Christian Johansen <[email protected]>
7d36c49b2fc04f360760de193627359dfec9ba0b authored over 14 years ago by Christian Johansen <[email protected]>
Add a light wrapper around JsTestDriver's TestCase to circumvent need to name tests with a leading 'test', update test cases
dce3bfc07ba31cf924e1cd01fe6d618818098f9b authored over 14 years ago by Christian Johansen <[email protected]>
dce3bfc07ba31cf924e1cd01fe6d618818098f9b authored over 14 years ago by Christian Johansen <[email protected]>
Add/update JsLint configuration for FakeXMLHttpRequest and related test case
Add tests for tddjs.extend
Make sure jsTestDriver.conf loads utils
Initial implementation of FakeXMLHttpRequest
6ebef56dc87f5a252d445965a4f8e81d5c999e80 authored over 14 years ago by Christian Johansen <[email protected]>
6ebef56dc87f5a252d445965a4f8e81d5c999e80 authored over 14 years ago by Christian Johansen <[email protected]>
Add stub(object) to stub all methods
ff552fa2d69ae4f0f63f8e012a6f9903ac02e725 authored over 14 years ago by Christian Johansen <[email protected]>
ff552fa2d69ae4f0f63f8e012a6f9903ac02e725 authored over 14 years ago by Christian Johansen <[email protected]>
Refactor throwsException -> throws
bde6e006a7af547725d616e0d1435b3ef20b1e59 authored over 14 years ago by Christian Johansen <[email protected]>
bde6e006a7af547725d616e0d1435b3ef20b1e59 authored over 14 years ago by Christian Johansen <[email protected]>
Add missing assertions, rearrange assert and spy retrieval interface implementation
f9ad0810b6d38cfedc71aa0fd24834694927ba57 authored over 14 years ago by Christian Johansen <[email protected]>
f9ad0810b6d38cfedc71aa0fd24834694927ba57 authored over 14 years ago by Christian Johansen <[email protected]>
Minor JsLint update
12fa1adb45a0e396db336210d3a85452da538e07 authored over 14 years ago by Christian Johansen <[email protected]>
12fa1adb45a0e396db336210d3a85452da538e07 authored over 14 years ago by Christian Johansen <[email protected]>
Add sinon.collection, refactor sinon.test to use it
4467674a44c222d55dca32e185feebb2a6688700 authored over 14 years ago by Christian Johansen <[email protected]>
4467674a44c222d55dca32e185feebb2a6688700 authored over 14 years ago by Christian Johansen <[email protected]>
Refactor, extract test function to separate file
251480e63107b2a357b623dcf22e021872b9caed authored over 14 years ago by Christian Johansen <[email protected]>
251480e63107b2a357b623dcf22e021872b9caed authored over 14 years ago by Christian Johansen <[email protected]>
Add callArg and callArgWith helpers
bcb5f474afd2b5992ab71dea9650678aa546654a authored over 14 years ago by Christian Johansen <[email protected]>
bcb5f474afd2b5992ab71dea9650678aa546654a authored over 14 years ago by Christian Johansen <[email protected]>
More JsLint tweaks
a175df29993df3bff247c4f20fae5a0fd3bbb5da authored over 14 years ago by Christian Johansen <[email protected]>
a175df29993df3bff247c4f20fae5a0fd3bbb5da authored over 14 years ago by Christian Johansen <[email protected]>
Added alwaysThrew
1178152e1e25c9222b89f4988c28beb24f50420a authored over 14 years ago by Christian Johansen <[email protected]>
1178152e1e25c9222b89f4988c28beb24f50420a authored over 14 years ago by Christian Johansen <[email protected]>
Added alwaysCalledWithExactly
fecb1b1a35f91393f34b2bd4bf193db976e8eea7 authored over 14 years ago by Christian Johansen <[email protected]>
fecb1b1a35f91393f34b2bd4bf193db976e8eea7 authored over 14 years ago by Christian Johansen <[email protected]>
alwaysCalledWith method on spies
dfcaaf0760f57ea805fb5e9e2b307a6e83e044ab authored over 14 years ago by Christian Johansen <[email protected]>
dfcaaf0760f57ea805fb5e9e2b307a6e83e044ab authored over 14 years ago by Christian Johansen <[email protected]>
Add alwaysCalledOn method
3cfebdb6817555acc80f2ce575cb63c0c5f63ee2 authored over 14 years ago by Christian Johansen <[email protected]>
3cfebdb6817555acc80f2ce575cb63c0c5f63ee2 authored over 14 years ago by Christian Johansen <[email protected]>
Implement calledOnce twice and thrice flags
f5da08bb4c9a2cc385c2f941a455181e2173755c authored over 14 years ago by Christian Johansen <[email protected]>
f5da08bb4c9a2cc385c2f941a455181e2173755c authored over 14 years ago by Christian Johansen <[email protected]>
Pass all files including tests with JsLint
df2c3b87374b125fd89dfdeda27efee34aa3d578 authored over 14 years ago by Christian Johansen <[email protected]>
df2c3b87374b125fd89dfdeda27efee34aa3d578 authored over 14 years ago by Christian Johansen <[email protected]>
Refactored spy to store call state in simple arrays rather than array of call objects
4cc067dcdb69a18975344cca43d52125c617f0dc authored over 14 years ago by Christian Johansen <[email protected]>
4cc067dcdb69a18975344cca43d52125c617f0dc authored over 14 years ago by Christian Johansen <[email protected]>
Refactoring, jslint stuff
f7eabc8649eb3e3f061cf5a302cea77f96bb027c authored over 14 years ago by Christian Johansen <[email protected]>
f7eabc8649eb3e3f061cf5a302cea77f96bb027c authored over 14 years ago by Christian Johansen <[email protected]>
Refactor callCount function -> boolean property
c81aa3c7177e7e53197fa5132cee5fcdcc51a780 authored over 14 years ago by Christian Johansen <[email protected]>
c81aa3c7177e7e53197fa5132cee5fcdcc51a780 authored over 14 years ago by Christian Johansen <[email protected]>
Refactor sinon utilities to use NFE
0bba9097eb2ab2f9d2e2be374f9905c981ef0ef2 authored over 14 years ago by Christian Johansen <[email protected]>
0bba9097eb2ab2f9d2e2be374f9905c981ef0ef2 authored over 14 years ago by Christian Johansen <[email protected]>
Using NFEs in assert
5c785d3ead3164b9ea2aca032433068b74ec4797 authored over 14 years ago by Christian Johansen <[email protected]>
5c785d3ead3164b9ea2aca032433068b74ec4797 authored over 14 years ago by Christian Johansen <[email protected]>