Delphi-WebMocks-Demos
WebMocks for Delphi Demo projects (by appercept)
Delphi-WebMocks
Library for stubbing and setting expectations on HTTP requests in Delphi with DUnitX (by appercept)
Our great sponsors
Delphi-WebMocks-Demos | Delphi-WebMocks | |
---|---|---|
2 | 2 | |
5 | 41 | |
- | - | |
0.0 | 3.8 | |
about 3 years ago | 11 days ago | |
Pascal | Pascal | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Delphi-WebMocks-Demos
Posts with mentions or reviews of Delphi-WebMocks-Demos.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-15.
-
All about HTTP responses with WebMocks in Delphi
In the previous article, we saw how easy it is to set up a DUnitX project with WebMocks. In this article, we learnt how to customize HTTP responses with WebMocks using its HTTP-oriented interface methods. Give it a try in your projects and let me know how you get on in the comments or via Twitter. You can find the demo code on GitHub. The next part of this series will be along shortly "Matching HTTP requests with WebMocks in Delphi".
-
Testing HTTP clients in Delphi with DUnitX and WebMocks
With these issues in mind, I set about solving them by writing WebMocks for Delphi, freely available and open-source on GitHub and available through GetIt. I designed WebMocks to integrate with DUnitX, the popular unit testing framework, also useful for running integration tests. WebMocks provides an in-process HTTP server with responses defined by an HTTP domain-specific-language interface.
Delphi-WebMocks
Posts with mentions or reviews of Delphi-WebMocks.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-15.
-
Matching HTTP requests with WebMocks in Delphi
If you want to verify the request's format, you should look at "assertions". Luckily I have an upcoming article all about that "Asserting HTTP requests with WebMocks in Delphi". In the meantime, try WebMocks and Delphi for yourself. The demos from this article and more are available on GitHub. Let me know how you get on in the comments below or on Twitter.
-
All about HTTP responses with WebMocks in Delphi
In the previous post Testing HTTP clients in Delphi with DUnitX and WebMocks we looked at a DUnitX test's basic structure using WebMocks to stub an HTTP endpoint. At this point, it appears very simplistic and not at all like many real-world HTTP interactions. Most requests don't merely respond "OK" with no content. Let's explore how and what content we can mock, giving your test subjects scenarios allowing you to write tests asserting their behaviour.
What are some alternatives?
When comparing Delphi-WebMocks-Demos and Delphi-WebMocks you can also consider the following projects:
horse - Fast, opinionated, minimalist web framework for Delphi
python4delphi - Free components that wrap up Python into Delphi and Lazarus (FPC)
WebView4Delphi - WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows.
mORMot - Synopse mORMot 1 ORM/SOA/MVC framework - Please upgrade to mORMot 2 !