Commit Graph

  • 754deaf36a Update package.json master Zhigang Fang 2014-08-11 13:49:59 +08:00
  • d607279b32 Update package.json v1.9.1 Zhigang Fang 2014-08-11 13:37:13 +08:00
  • 81234cbf8a Ah forgot to bump version. Fail. v1.9.0 Dan Hough 2014-08-09 16:06:24 +01:00
  • b063e6f179 Markdown fail. Dan Hough 2014-08-09 16:03:56 +01:00
  • 7176719626 Travis badge works! Dan Hough 2014-08-09 16:02:57 +01:00
  • e509776756 Trying to fix travis Dan Hough 2014-08-09 15:58:35 +01:00
  • a2cc2a8cb4 Improved CRUD example yet again Dan Hough 2014-08-09 15:45:32 +01:00
  • 5014d9c2e4 Updated example, shortened readme and links to wiki. Removed dependency. Dan Hough 2014-08-09 15:39:59 +01:00
  • 635209e11a Fixed some readme stuff Dan Hough 2014-08-09 14:58:55 +01:00
  • 88342798f5 Updated deepmerge and crud example Dan Hough 2014-08-09 14:57:40 +01:00
  • 396d320efa Good example of creates and extends together Dan Hough 2014-08-09 14:42:42 +01:00
  • 13f95ce74f Added some explanation of the extends behaviour Dan Hough 2014-08-09 14:37:23 +01:00
  • 19cac85c84 Arrays are handled as expected by extends #23 Dan Hough 2014-08-09 14:06:44 +01:00
  • 4223e8f5de Finally added LICENCE.md Dan Hough 2014-08-09 12:39:15 +01:00
  • e1620fa85b Merged Dan Hough 2014-08-09 12:34:39 +01:00
  • d675a2e950 Added to contributing file modifies Dan Hough 2014-08-08 21:55:44 +01:00
  • 1727567661 Deleted unnecessary method Dan Hough 2014-08-08 21:35:31 +01:00
  • 41c16b5906 Added url require Dan Hough 2014-08-08 21:35:10 +01:00
  • 3863e30aab Fixed #25. This was a unix/windows path error. TLDR: / != \ Upped to V1.8.2 Dan Hough 2014-08-04 15:40:00 +01:00
  • 6eaf966853 Moved fluent tests to their own file and finished all the required modify stuff for #23 Dan Hough 2014-08-08 21:23:53 +01:00
  • afe3ca6469 #23 Moved the tests a bit. Dan Hough 2014-08-08 20:13:00 +01:00
  • 42b92e2f24 #23 Useful error messages when trying to do extra complex stuff covered by #26 Dan Hough 2014-08-08 20:02:26 +01:00
  • 3d01dc2557 Middle of query Dan Hough 2014-08-08 19:08:24 +01:00
  • bc60a81b82 #23 Can now modify response headers Dan Hough 2014-08-08 18:51:49 +01:00
  • 231b7faba7 #23 Proper delay support. Works for non-existant routes before they've been created Dan Hough 2014-08-08 18:35:29 +01:00
  • ce19c8efe7 #23 Can now add delays Dan Hough 2014-08-08 18:27:37 +01:00
  • 9f09fffeef #23 Can now add delays Dan Hough 2014-08-08 18:23:17 +01:00
  • 5b5105248b #23 Modify now has its own method in the fluent interface. Dan Hough 2014-08-08 18:07:06 +01:00
  • ddf40ca31b So confused Dan Hough 2014-08-07 22:26:41 +01:00
  • b0117611a4 Made a badass test to check for some complex behaviour of creates following modifies Dan Hough 2014-08-07 17:43:37 +01:00
  • bea658c172 Will now modify body after response is sent!! Dan Hough 2014-08-07 12:22:15 +01:00
  • c6250f6b25 Can now modify a route, but only before it is called. Should only happen once call has happened Dan Hough 2014-08-07 12:05:46 +01:00
  • 839d2c948f Added a note. Dan Hough 2014-08-07 09:15:36 +01:00
  • e5e9a941d9 Made good progress with modifies. Need to merge, not replace Dan Hough 2014-08-06 23:08:00 +01:00
  • 7b0e9fcead Successfully rearchitected. Need to do some comment adjustment now Dan Hough 2014-08-06 22:56:10 +01:00
  • 6745fb7306 Added Route class to separate stuff more cleanly Dan Hough 2014-08-06 17:43:35 +01:00
  • 892612d6b9 Fixed #25. This was a unix/windows path error. TLDR: / != \ Upped to V1.8.2 v1.8.2 Dan Hough 2014-08-04 15:40:00 +01:00
  • 5cef1a6c60 Ah everything is broken. Turned routes into classes Dan Hough 2014-07-17 17:53:40 +01:00
  • f267882a3c Almost there. Need to store routes as standalone things with state rather than as simple objects, and return them from the createroute method. Dan Hough 2014-07-10 19:51:14 +01:00
  • 9faf6b3589 Started with the MODIFIES stuff Dan Hough 2014-07-10 18:10:52 +01:00
  • 1e750b74b8 Took something from readme. Also travis. Dan Hough 2014-07-04 14:02:51 +01:00
  • 5922c5cd75 Bumped version v1.8.1 Dan Hough 2014-07-03 17:42:45 +01:00
  • 87adbe9d09 Fixed #24 can now use other fluent methods after responseHeaders Dan Hough 2014-07-03 17:42:12 +01:00
  • 20006c6fae Upped v and updated readme v1.8.0 Dan Hough 2014-06-20 12:58:23 +01:00
  • e917ceac6a Merge branch '20-partial-request-match' of github.com:basicallydan/interfake into 20-partial-request-match 20-partial-request-match Dan Hough 2014-06-20 11:16:16 +01:00
  • 219e5c935e Can now create partially-matched query string request endpoints. Closes #20 Dan Hough 2014-06-12 17:59:50 +01:00
  • 54362db964 Fixed a bug where delay wasn't working in the fluent interface. Bumped v to 1.7.2 v1.7.2 Dan Hough 2014-06-20 11:13:21 +01:00
  • 3d9c6ecc42 Can now create partially-matched query string request endpoints. Closes #20 Dan Hough 2014-06-12 17:59:50 +01:00
  • 9d3732b6fb v1.7.1 Made root path work by more traditional methods v1.7.1 Dan Hough 2014-06-06 10:13:39 +01:00
  • 484f0577d0 Merge branch 'master' of github.com:basicallydan/interfake Dan Hough 2014-06-06 09:27:45 +01:00
  • a46d137d80 Added API Root ability. Name up for debate if anybody has an opinion. v1.7.0 Dan Hough 2014-06-06 09:25:16 +01:00
  • c73ce6a198 Okay, let's CI it up. Daniel Hough 2014-06-03 16:08:05 +01:00
  • a44fdc0b28 Basic support for fluent command line interface for #5 fluent-command-line Dan Hough 2014-05-24 11:31:06 +01:00
  • 16df30bcb6 Upped version, added stuff about callback Dan Hough 2014-05-13 21:47:41 +01:00
  • 9253e9082d Merge branch 'bruce-one-master' closes #16 Dan Hough 2014-05-13 21:45:35 +01:00
  • 9339f531f7 Add a callback argument to Interfake.listen Bryce Gibson 2014-05-07 18:32:51 +10:00
  • f5f9b3c696 v1.6.1: Merged with @sebs's fork. Fixed small undefined bug that has existed since day 0 Dan Hough 2014-04-24 21:07:03 +02:00
  • 41498bc3d3 Added dependencies for express 4.0 migration Sebastian Schürmann 2014-04-24 18:19:36 +02:00
  • e072622bd0 Using the bodyparser not just for json Sebastian Schürmann 2014-04-24 18:14:31 +02:00
  • 04d8fa77c4 Everything works except the posting of json Sebastian Schürmann 2014-04-24 18:08:51 +02:00
  • 4cac72d28b Started writing a test for cli. Quite hard because child_process fluent-cli Dan Hough 2014-04-10 23:36:07 +02:00
  • 7a061f32a0 Updated to v1.6. Headers now supported. Dan Hough 2014-04-10 22:47:35 +02:00
  • 7c66bd3f5c Merge branch 'master' of https://github.com/sebs/interfake into sebs-master Dan Hough 2014-04-10 22:17:11 +02:00
  • ad581d527b Couple of README errors that need updating on github & npm Dan Hough 2014-04-10 22:12:08 +02:00
  • d9ec431570 Updated README to include query bit Dan Hough 2014-04-10 22:09:54 +02:00
  • f4fa8f0e77 Wrote an extremely complex test for a simple CRUD API Dan Hough 2014-04-10 22:00:03 +02:00
  • cb6a5493d6 Fluent interface for query now works properly even with creation of post-response endpoints Dan Hough 2014-04-10 21:39:16 +02:00
  • 108f2d5b9c Allows the url component to have query strings w/o fluent Dan Hough 2014-04-10 19:50:22 +02:00
  • 5e17944d61 Now supporting query params in the fluent interface for #12 Dan Hough 2014-04-10 19:23:14 +02:00
  • c53dd2d644 A couple of linter fixes and updated readme Dan Hough 2014-04-02 23:40:47 +02:00
  • 537eac995f Fixed a couple of minor linting errors Dan Hough 2014-04-02 23:21:33 +02:00
  • ce53757b76 Removed self and made interfake a module-local obj which is beforeEach set up Dan Hough 2014-04-02 23:20:52 +02:00
  • 9d88d61f18 Add support for handling query params Rajit Singh 2014-03-28 17:21:48 +01:00
  • a5aa203d01 Added an example with a delay. Works well\! Dan Hough 2014-03-27 22:13:35 +01:00
  • f0ec7fb761 Upped version and added to changelog Dan Hough 2014-03-27 22:09:26 +01:00
  • 7637524ddb Rebased with bruce-one's changed Removed lodash dependency and replaced it with core-utils-is. Don't need all of lodash just yet. Closes #9 Dan Hough 2014-03-27 22:05:20 +01:00
  • 46c30ea11a Test both the upper and lower end of a delay range Bryce Gibson 2014-03-24 16:38:36 +11:00
  • 0701f224d7 Use lodash rather than reimplementing some of its methods Bryce Gibson 2014-03-24 16:17:36 +11:00
  • 0c66c02e8f Support for delaying responses a random amount within a specified range Bryce Gibson 2014-03-24 16:07:43 +11:00
  • 613fe30783 Added bruce-one to contributors and updated history Dan Hough 2014-03-22 13:13:26 +00:00
  • 254beaa2d0 Added some examples for delay Dan Hough 2014-03-22 13:10:01 +00:00
  • 60b965a283 Bumped version to reflect delay Dan Hough 2014-03-21 14:00:26 +00:00
  • 7420ae0609 Small changes to style Dan Hough 2014-03-21 13:06:04 +00:00
  • bcd102c7ec Removed debug Sebastian Schürmann 2014-03-21 14:05:28 +01:00
  • 1d34e84ff2 Setting providing individual response headers Sebastian Schürmann 2014-03-21 13:36:20 +01:00
  • 9dad159046 Reduce the delays in the test suite Bryce Gibson 2014-03-21 08:25:45 +11:00
  • 27013bb761 Adding a delay fluent method Bryce Gibson 2014-03-21 08:23:29 +11:00
  • c9f1b40d88 Add a delay parameter for responses. Bryce Gibson 2014-03-19 14:02:04 +11:00
  • 79aa9fba66 Fixed error in readme Dan Hough 2014-03-17 12:28:30 +01:00
  • 93bf801e43 Added some examples with phantom JS new-examples Dan Hough 2014-03-17 12:27:49 +01:00
  • 8acef8241d Added works well with Daniel Hough 2014-03-16 22:24:56 +01:00
  • 495d01756c Merge branch 'master' into fluent Dan Hough 2014-03-16 22:12:58 +01:00
  • a31013359b Added me as author to readme Dan Hough 2014-03-16 22:09:48 +01:00
  • 587656ebfc Fixed conflicts in readme. Dan Hough 2014-03-16 22:08:04 +01:00
  • 73a4eaf215 Updated readme Dan Hough 2014-03-16 22:06:18 +01:00
  • 364afa9b06 Added an example of how to use this for testing SPAs Dan Hough 2014-03-16 22:05:26 +01:00
  • ecb6ae7562 Update readme.md Daniel Hough 2014-03-16 20:25:14 +01:00
  • 4c7d6f1e27 Update readme.md Daniel Hough 2014-03-16 20:22:04 +01:00
  • 62f20cc7df Update readme.md Daniel Hough 2014-03-16 20:18:49 +01:00
  • 14c5bb851b Update readme.md Daniel Hough 2014-03-16 20:14:56 +01:00