Test, mock, and track HTTP requests & responses between libraries, sockets and APIs
apis mocking api-management api-testing api-client testing-tools api-test api-mock api bin har http json mock test testingRead the docs.See and edit the live example on Launchpad.
graphql-schema schema-language graphql apollographql apollo typescript mock schema toolsMoto is a library that allows your tests to easily mock out AWS Services.Take a minute to think how you would have tested that in the past.
mock aws aws-serviceLocalStack provides an easy-to-use test/mocking framework for developing Cloud applications.Currently, the focus is primarily on supporting the AWS cloud stack. you can run your Lambda functions, store data to DynamoDB tables, feed events through Kinesis streams, put your application behind an API Gateway, and much more. And all this happens on your local machine, without ever talking to the cloud.
aws cloud-stack aws-alternative cloud datacenter testing mockInstall the latest version of the gem with the following command... Note: If you are intending to use Mocha with Test::Unit or MiniTest, you should only setup Mocha after loading the relevant test library...
minitest test-unit mock stub testingThere are some minor breaking changes in v2, so if you need an older version, please check the v1.x branch or the list of releases in Github.jQuery Mockjax provides request/response mocking for ajax requests using the jQuery API and provides all standard behaviors in the request/response flow.
ajax mock unit testing jquery-plugin ecosystem:jquery jqueryProxies nodejs's require in order to make overriding dependencies during testing easy while staying totally unobtrusive. If you want to stub dependencies for your client side modules, try proxyquireify, a proxyquire for browserify v2 or proxyquire-universal to test in both Node and the browser.
require dependency injection di inject swap test mock stubIt works with NSURLConnection, NSURLSession, AFNetworking, Alamofire or any networking framework that use Cocoa's URL Loading System. OHHTTPStubs headers are fully documented using Appledoc-like / Headerdoc-like comments in the header files. You can also read the online documentation here.
ios stubbing network stub ohhttpstubs mock mock-server mockingIn fact, halfway through we discovered our corporate mocking software couldn’t handle the sheer amount of performance testing we were running as part of this effort (we completely crushed some pretty industrial enterprise software in the process). As a result, we made the call to move the entire program over to a Mountebank OSS-based solution with a custom provision to give us the ability to expand/shrink our mocking needs on demand. mountebank is the first open source tool to provide cross-platform, multi-protocol test doubles over the wire. Just point your application to mountebank instead of the real dependency, and test like you would with traditional stubs and mocks.
mountebank service-virtualization test-automation testing test-framework microservices-testing mocking stubbing test stub mock double smtp email http https tcp netIf you've tried working with mocks in Node.js, you've no doubt discovered that it's not so easy to get your mocks hooked up in the face of Node's module loading system. When your source-under-test pulls in its dependencies through require, you want your mocks provided, instead of the original module, to enable true unit testing of your code. This is exactly the problem Mockery is designed to solve. Mockery gives you a simple and easy to use API with which you can hook in your mocks without having to get your hands dirty with the require cache or other Node implementation details.
mock stub require module cache unit test unittest testing tddMimesis is a fast and easy to use library for Python programming language, which helps generate synthetic data for a variety of purposes in a variety of languages. This data can be particularly useful during software development and testing. For example, it could be used to populate a testing database, create beautiful JSON and XML files, anonymize data taken from a production service, etc. You can find the complete documentation on the Read the Docs.
fake dummy data generate testing mimesis schema mock fixtures factory language locale synthetic mocking anonymize json xml bootstrapPlease note: The current version of rewire is only compatible with CommonJS modules. See Limitations. rewire acts exactly like require. With just one difference: Your module will now export a special setter and getter for private variables.
mock testing unit-testing monkey-patching dependency injection shim module unit test leak inspect fake requireVisit the NSubstitute website for more information. NSubstitute is designed as a friendly substitute for .NET mocking libraries.
c-sharp dot-net testing testing-tools test mocking mock dotnet-core dotnetcore mocks stubsWelcome! Are you writing JavaScript tests and in the market for a mocking library to fake out real things for you? testdouble.js is an opinionated, carefully-designed test double library maintained by, oddly enough, a software agency that's also named Test Double. If you practice test-driven development, testdouble.js was designed to promote terse, clear, and easy-to-understand tests. There's an awful lot to cover, so please take some time and enjoy our documentation, which is designed to show you how to make the most out of test doubles in your tests.
testdouble testing-tools mocking spies sinon tdd bdd mock stub spy test-double doubleNOTE: if getter function has non-empty arguments list then generator should be called as function casual.profile('public'), otherwise it should be accessed as property casual.profile. Default locale is en_US.
faker generator data-generator fake data casual fixtures testing seed random mock mockingDuckRails is a development tool. Its main purpose is to allow developers to quickly mock API endpoints that for many possible reasons they can't reach at a specific time.
mock developer-tools developers api api-server apis productivity webdevDue to big API incompatibility between python 3.3, 3.4 and 3.5, the author of HTTPretty is not supporting python3 officially. You will notice that the travis build for python 3 might be broken, and while pull requests fixing py3 support are most welcome, it is still not official at least for now. Since you are interested in HTTPretty you should also be interested in speeding up your build. Replace pip with curdling and see your build running a lot faster.
http http-mock http-mocking mock fakeweb dynamic-responses httpretty python2 python-2 streaming-response decorators testing testing-tools tdd tdd-utilitiesRead Code Snippets tutorial, Performance profiling using DevTools code snippets and How to improve Angular application performance using code snippets. Note: code snippets do NOT have access to the full console API, for example no access to console.monitor.
chrome-devtools snippets chrome code devtools exploratory mock test testingPester is the ubiquitous test and mock framework for PowerShell. This code example lies a tiny bit, find it annotated and production ready here.
powershell pester-tests powershell-tests assertions mocking mock testing tdd bdd tdd-framework bdd-frameworkMockito is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. Mockito doesn’t give you hangover because the tests are very readable and they produce clean verification errors.
mocking-framework testing-tools mocking mock testing test-automation test-driven-development mock-library java-library unit-testing
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.