interfake icon indicating copy to clipboard operation
interfake copied to clipboard

Create Unit-Tests out of the Mock Server

Open sebs opened this issue 10 years ago • 6 comments

When you want to move from the mock prototype to a real implementation, it could be handy to have some unit tests generated. Then throw away the mock server and write the real one against unit tests. Those dont need to be complete but think of getting a spec as developer that consists of unit tests ;)))

sebs avatar Apr 25 '14 11:04 sebs

Oooh nice idea. So, basically, using the JSON file to create test cases, and then you fill in the set-up yourself?

basicallydan avatar Apr 25 '14 11:04 basicallydan

https://github.com/sebs/interfake-test

Here I will outline the idea.

sebs avatar Apr 26 '14 12:04 sebs

Great! Looking forward to it.

basicallydan avatar Apr 29 '14 07:04 basicallydan

Hey @sebs, it's been almost two years :) did you ever have any further thoughts on this?

basicallydan avatar Apr 08 '16 10:04 basicallydan

Ah yeah ;) It kinda died, but i never really found a IRL use case for that ;)

sebs avatar Apr 15 '16 09:04 sebs

Cool! I'm fond of this idea though so I'm gonna leave it here in the hopes that someone will pick it up 😄

basicallydan avatar Apr 15 '16 09:04 basicallydan