↓ Skip to Main Content

Yop

Quality with simplicity

Main Navigation

  • Portfolio
  • Blog
  • About

Tag: mocha

Proxy or Stub with NGINX

Posted on 2022-08-15 No Comments Tagged with mocha, tdd

In case it is useful for someone else: here is another way to have a proxy stubbing some of the incoming requests. The external tests are in shell directly with curl. My initial need was to stub some graphQL requests …

Proxy or Stub with NGINX Read more »

GitHub Pages code coverage

Posted on 2022-08-01 No Comments Tagged with istanbul, jsdom, mocha

When building the GitHub Pages App TDD Stats, I wanted to add code coverage with istanbul and it required a little more effort than just wrapping the mocha call with nyc because jsdom is not yet very code coverage friendly. …

GitHub Pages code coverage Read more »

Recent Posts

  • Stay green 2023-02-26
  • Emerging Tests Pyramid 2023-02-09
  • Proxy or Stub with NGINX 2022-08-15
  • GitHub Pages code coverage 2022-08-01
  • About test intention 2022-06-18
© 2025 Yop | Powered by Responsive Theme