Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dhuan_
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
dhuan_
4mo ago
I have been working on two opensource tools: https://dhuan.github.io/mock/latest/examples.html Command line utility that lets you build APIs with just one command. https://github.com/dhuan/dop
2.
▲
by
dhuan_
5mo ago
well done! wouldn't it nice if something like this existed in Lua as well (or maybe it does and I haven't seen it yet)? I've built a data transforming tool powered by Lua[1] and would definitely like to benefit from an genera
3.
▲
by
dhuan_
5mo ago
I have been working on two opensource tools: https://dhuan.github.io/mock/latest/examples.html ^Command line utility that lets you build APIs with just one command. https://github.com/dhuan/do
4.
▲
by
dhuan_
5mo ago
I have been working on two opensource tools: https://dhuan.github.io/mock/latest/examples.html ^Command line utility that lets you build APIs with just one command. https://github.com/dhuan/do
5.
▲
by
dhuan_
6mo ago
For me it has to be mock. With it I can create and automate APIs easily. https://dhuan.github.io/mock/latest/examples.html
6.
▲
Show HN: Dop, Awk-like processing for JSON/YAML/TOML with Lua
(github.com)
2 points
by
dhuan_
6mo ago
|
1 comments
7.
▲
by
dhuan_
6mo ago
I agree, even trivial tasks require us to go back to jq's manual to learn how to write their language. this and other reasons is why I built: https://github.com/dhuan/dop
8.
▲
by
dhuan_
6mo ago
mock, an API creation and testing utility. Any feedback is welcome. https://dhuan.github.io/mock/latest/examples.html
9.
▲
by
dhuan_
8mo ago
mock, an API creation and testing utility. Any feedback is welcome! https://dhuan.github.io/mock/latest/examples.html
10.
▲
by
dhuan_
9mo ago
I’ve found tools like Charles really useful for understanding what’s happening on the wire. When I need something more repeatable (tests, offline work), I usually reach for a mock server instead. I ended up building a small one for my own u
11.
▲
by
dhuan_
9mo ago
mock, an API creation and testing utility. Any feedback is welcome! https://dhuan.github.io/mock/latest/examples.html
12.
▲
by
dhuan_
10mo ago
Great article. In addition, updating your mocking code can often be time-consuming. To try to make this easier, I built mock[1], which streamlines the process of setting up mock services for testing. https://dhuan.github.io/
13.
▲
by
dhuan_
10mo ago
mock, an API creation and testing utility. Any feedback is welcome! https://dhuan.github.io/mock/latest/examples.html
14.
▲
by
dhuan_
10mo ago
It's also possible create an HTTP service that acts as a wrapper to yt-dlp with just a few lines of shell, I created this example in the following link: https://dhuan.github.io/mock/latest/examples.html#youtub
15.
▲
by
dhuan_
11mo ago
Swagger is a tool for API design and documentation. Mock on the other hand is an actual API creation utility with which you can define endpoints, execute some logic for each endpoint and then return some data to the client. There are other
16.
▲
by
dhuan_
11mo ago
I think you intended to post here: https://news.ycombinator.com/item?id=45789474
17.
▲
by
dhuan_
11mo ago
Hi! Not yet, unless you use it with containers.
18.
▲
by
dhuan_
11mo ago
Hi, thanks for the feedback! I hope it's useful to you.
19.
▲
by
dhuan_
11mo ago
Hi, thanks for the feedback! That's true, it's not a very unique name. I started building it, but only months later I thought of making it public. And then never thought of renaming it.
20.
▲
by
dhuan_
11mo ago
Hi thanks for the feedback checking out the project. > What's the main motivation for creating this tool? Similar tools exist out there for sure, but they are either complex (more than I wish they'd be) or somehow require you t
21.
▲
Mock – An API creation and testing utility: Examples
(dhuan.github.io)
137 points
by
dhuan_
11mo ago
|
19 comments
22.
▲
by
dhuan_
1y ago
I've been working on mock: https://dhuan.github.io/mock/ the process of creating APIs for testing and automation should be as easy possible. the tools that exist nowadays aren't good enough, they require you
23.
▲
by
dhuan_
1y ago
I've been working on mock: https://dhuan.github.io/mock/ the process of creating APIs for testing and automation should be as easy possible. the tools that exist nowadays for this purpose aren't good enough I
24.
▲
by
dhuan_
2y ago
I've been working on mock: https://dhuan.github.io/mock/ the process of creating APIs for testing and automation should be as easy possible. the tools that exist nowadays aren't good enough, they require you
25.
▲
by
dhuan_
2y ago
that's a really useful testing strategy. I used to to write automated tests using an approach very similar to yours, but I was often bothered that I needed to write code in a programming language to set up the mocked data. After a whil
26.
▲
Show HN: Mock v1.4.3 – create APIs using just shell scripts
(github.com)
1 points
by
dhuan_
2y ago
|
0 comments
27.
▲
by
dhuan_
2y ago
I built mock, an api tool and testing utility to be able to quickly manipulate API responses and act as a proxy server at the same time. After some time, I decided to open-source it: https://dhuan.github.io/mock/
28.
▲
by
dhuan_
2y ago
Hey very useful app, I'll be watching this. I once wanted to set up backend apps during automated CI jobs in order to facilitate e2e tests and ended up making an utility kind of similar - but yours truly goes beyond. https://
29.
▲
Show HN: Mock – Language-agnostic API mocking and testing utility
(dhuan.github.io)
1 points
by
dhuan_
3y ago
|
0 comments
30.
▲
by
dhuan_
3y ago
mock - language agnostic API mocking and testing utility https://github.com/dhuan/mock I built it because I needed an easy way to set-up API endpoints that weren't implemented yet by some other team. After a while
More ›