Bluesky
GitHub
RSS
Home
Blog
Talks
TIL
Saved
OSS
|
Ideas
|
Uses
#testing
2023
Testing NodeJS SDKs with nock
Ensure that all the HTTP calls you're expecting an SDK to make are being made. Test POST bodies, error handling and any other part of the request/response that you like
#dev
#javascript
#testing
2022
Mock `process.env` using `mocked-env`
Ensure that the environment is reset after every test
🎓
#dev
#javascript
#testing
2021
Ensure all nock mock interceptors are used
Use
isDone
and
pendingMocks
to ensure that your app made all the HTTP requests it is expected to
🎓
#dev
#javascript
#testing
2020
Mock require with Jest
🎓
#dev
#javascript
#jest
#testing
2019
Testing GitHub Actions with act
Learn how to test your GitHub Actions and Workflows on your local machine with
nektos/act
; which uses Docker and Go to emulate the Actions runner
#github-actions
#testing
2012
Behat + Selenium2 / Webdriver with MinkExtension
#dev
#php
#testing
Behat + Selenium2 / Webdriver
#dev
#php
#testing