Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yakbak is dead.. Long live Talkback!! [Replacement Library] #49

Open
Monte9 opened this issue Jan 31, 2019 · 2 comments
Open

Yakbak is dead.. Long live Talkback!! [Replacement Library] #49

Monte9 opened this issue Jan 31, 2019 · 2 comments

Comments

@Monte9
Copy link

Monte9 commented Jan 31, 2019

I was banging my head against the wall trying to make Yakbak work for my use case. First off the tapes are in base64 format which makes it really hard to debug the tapes & also this library is not maintained anymore.

I came across a replacement called Talkback which serves the same functionality but was written from scratch by @ijpiantanida! 👏

Hence this led me to replace my mock Yakbak server with Talkback:

Yakbak Cons:

  • The tapes were in base64 format - made it hard to debug the request/response
  • It would re-record tapes when x-request-id changed - an unintended side-effect
  • Needed express & morgan libraries in addition to yakbak
  • Not maintained anymore

Talkback Pros:

  • Easy setup - took less than 2 mins to replace Yakbak
  • Logging requests by default - even shows whether it served a cached request or is recording a new tape
  • Human-readable tapes - you can see the req/res in JSON5 format
  • Ability to rename tapes - this is great as you can know exactly what your tapes your doing

Hence if you are considereing Yakbak for your use case, I would highly suggest you checkout Talkback and use that instead.

@yknx4
Copy link

yknx4 commented Feb 27, 2019

Awesome tool!

I made a different one too, If you want a drop in replacement instead, I'm mantaining this fork

https://github.com/yknx4/yaktime

@cbrunnkvist
Copy link

cbrunnkvist commented Sep 11, 2020

Human-readable tapes - you can see the req/res in JSON5 format

Brilliant addition, @ijpiantanida / @Monte9! That was the one thing that bothered me about the tape format - in a code review, it is very common that we need to be informed exactly about how the test data has changed, not just that a Base64 string is different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants