wirepig
jasmine
wirepig | jasmine | |
---|---|---|
6 | 49 | |
48 | 15,717 | |
- | 0.1% | |
4.5 | 7.1 | |
3 months ago | about 1 month ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wirepig
-
How do you create test cases for APIs?
Not sure which API you're referring to, but if you need to mock some other dependency over the network, check out wirepig (I'm the author).
- Wirepig – Mock HTTP and TCP deps with real sockets in Node.js tests
- Show HN: Wirepig – Mock HTTP and TCP deps with real sockets in Node.js tests
-
I made wirepig, a simple way to mock HTTP and TCP dependencies in tests.
Documentation
Repo
jasmine
-
JS Toolbox 2024: Bundlers and Test Frameworks
Jasmine is a behavior-driven development framework for testing JavaScript code. It's known for its clean, straightforward syntax and does not rely on any other JavaScript frameworks or a Document Object Model (DOM). Jasmine is often praised for its simplicity and ease of use in both frontend and backend testing environments.
-
JS Toolbox 2024: Essential Picks for Modern Developers Series Overview
The test frameworks section provides an in-depth look at MochaJS, Jest, Jasmine, Puppeteer, Selenium, and Playwright. We review each framework's ease of use, community support, and overall robustness, supplemented with example unit tests.
-
Migrating from Jest to Vitest for your React Application
Vitest makes it effortless to migrate from Jest. It supports the same Jasmine like API.
-
How To Write Better and Quality Code
JavaScript Popular tools for testing: Mocha, Jasmine, Unit JS, Jest
- Почему я программирую на Ruby
-
Inferno Versions 2 through, like, 8 released.
Internet Explorer is not actively tested anymore due to Internet Explorer retiring on June 15, 2022 and jasmine v4 has dropped IE support https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md
-
Using Node.js for Automated Testing with Headless Browsers
To execute your tests, you can create test scripts using popular testing frameworks like Mocha, Jasmine, or Jest. These frameworks provide a structured way to organize and run your tests, report results, and handle assertions.
-
Road Map To Become a Web Developer
Testing frameworks like Jest, Mocha, and Jasmine are crucial for software development, ensuring code reliability and correctness. They offer features like test suites, test cases, assertions, and asynchronous testing support.
-
Naming Unit Tests Function
The test framework used does matter for naming, because in some frameworks you'd use different naming conventions (i.e. the fluent naming used with https://jasmine.github.io/)
-
Common Pitfalls in Angular Component Testing
Learn more about Jasmine and Karma
What are some alternatives?
toxy - Hackable HTTP proxy for resiliency testing and simulated network conditions
Cucumber.js - Cucumber for JavaScript
Hermione - Testplane (ex-hermione) browser test runner based on mocha and wdio
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
testcontainers-node - Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
jest - Delightful JavaScript Testing.
nightwatch - Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
tape - tap-producing test harness for node and browsers
TestCafe - A Node.js tool to automate end-to-end web testing.
tap - Test Anything Protocol tools for node
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser