News for hackers. Stuff that matters.
Re:Ask HN: Best Way to Mock APIs in 2020? by anonymoushn on Sunday June 14, 2020 @12:41PM (#23519116)
1) I haven't actually seen a tooling configuration that gives you the experience of having the concrete type in your code when you write code that uses an interface (in e.g. golang or Java) for the sole purpose of swapping it out in a test.

2) Right. I agree.

3) It looks like your original post in this thread says "Do not make black box tests. Make white box tests"

Re:Ask HN: Best Way to Mock APIs in 2020? by peheje on Sunday June 14, 2020 @01:17PM (#23519443)
1) Me neither to be honest, but would love to see it.

3) All right. That was not my intend. I think they both do different stuff, some projects need both, some only need one or the other.