linkedom
mocha
Our great sponsors
linkedom | mocha | |
---|---|---|
13 | 138 | |
1,463 | 22,421 | |
- | 0.2% | |
8.1 | 7.6 | |
30 days ago | 6 days ago | |
HTML | JavaScript | |
ISC 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.
linkedom
-
Alternative for DOMParser for background script (Service worker) in manifest v3?
linkedom is your answer
-
Task: Save Article to Markdown
linkedom - to parse HTML into a workable DOM. I used to use jsdom, but I switch for performance reasons.
-
Ask HN: What are the best tools for web scraping in 2022?
For simple scraping where the content is fairly static, or when performance is critical, I will use linkedom to process pages.
https://github.com/WebReflection/linkedom
When the content is complex or involves clicking, Playwright is probably the best tool for the job.
https://github.com/microsoft/playwright
-
The Fetch API is finally coming to Node.js
I recently started using linkedom for this and it has been an absolute joy
- LinkeDOM: A Jsdom Alternative (2021)
-
Happy-DOM: a jsdom alternative that can server side render web components
This looks great. I wonder how it compares to linkedom (repo[1], writeup[2]), which I have found to be fantastic.
[1]: https://github.com/WebReflection/linkedom
[2]: https://webreflection.medium.com/linkedom-a-jsdom-alternativ...
-
Testing Solid.js code beyond jest
linkedom, fastest, but lacks essential features
-
Using Mocha to test ClojureScript
Other things to do would be to use linkedom instead of JSDom, look into a better assertion library than assert etc.
-
Idiosyncrasies of the HTML Parser
Sounds somewhat similar to linkedom[1], which performs nicely.
[1]: https://github.com/WebReflection/linkedom
- LinkeDOM – A triple-linked lists based DOM“ [Live with Andrea Giammarchi]
mocha
- Introdução a testes unitários no desenvolvimento de software
-
JS Toolbox 2024: Bundlers and Test Frameworks
MochaJS is a feature-rich JavaScript test framework running on Node.js, making it a popular choice for both backend and frontend testing. It's known for its flexibility and straightforward syntax, allowing for asynchronous testing and the use of any assertion library.
- Mocha is being maintained again
-
Painless CLI integration testing
We use Jest Framework for testing. Jest is not a dogma, and, of course, in its place can be any other test runner, such as Mocha or Ava. Let's focus on tests. I'll provide a short example because I don’t want to waste your time. You can find the full version here. It's crucial to read the comments in the code below. Let's go!
-
How To Write Better and Quality Code
JavaScript Popular tools for testing: Mocha, Jasmine, Unit JS, Jest
- Почему я программирую на Ruby
-
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.
-
My opinionated JavaScript package template repository - zero config, start immediately
⚗️ Mocha and Chai for testing
-
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.
-
CI/CD Pipeline Using GitHub Actions: Automate Software Delivery
JavaScript / JEST / Mocha
What are some alternatives?
happy-dom - A JavaScript implementation of a web browser without its graphical user interface
Cucumber.js - Cucumber for JavaScript
HTMLKit - An Objective-C framework for your everyday HTML needs.
jest - Delightful JavaScript Testing.
wpt - Test suites for Web platform specs — including WHATWG, W3C, and others
tap - Test Anything Protocol tools for node
haste-perch - Create dynamic HTML easy in the browser using declarative notation
TestCafe - A Node.js tool to automate end-to-end web testing.
vite - Next generation frontend tooling. It's fast!
pactum - REST API Testing Tool for all levels in a Test Pyramid
jsdom - A JavaScript implementation of various web standards, for use with Node.js
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.