All Projects → justinribeiro → lighthouse-mocha-example

justinribeiro / lighthouse-mocha-example

Licence: Apache-2.0 license
Sample using lighthouse and lighthouse-core with Mocha to run tests on your project/site.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to lighthouse-mocha-example

webperf-ecommerce-id
⚡️ Web Perf Comparison for E-Commerce in Indonesia
Stars: ✭ 38 (-36.67%)
Mutual labels:  webperf, lighthouse
Pwmetrics
Progressive web metrics at your fingertipz
Stars: ✭ 1,243 (+1971.67%)
Mutual labels:  webperf, lighthouse
long night
A collection of themes based on pastel colors, created for reverse engineers
Stars: ✭ 74 (+23.33%)
Mutual labels:  lighthouse
nuxt-speedkit
nuxt-speedkit will help you to improve the lighthouse performance score (100/100) of your website.
Stars: ✭ 401 (+568.33%)
Mutual labels:  lighthouse
teti
CLI for testing DOM timings built upon Headless Chrome & Lighthouse 💜
Stars: ✭ 14 (-76.67%)
Mutual labels:  lighthouse
wptide
🌊 Tide is a series of automated tests run against every WordPress.org theme and plugin
Stars: ✭ 77 (+28.33%)
Mutual labels:  lighthouse
quasar-starter-ssr-pwa-jest-cypress
Accelerated starter kit for building a quasar 17 app.
Stars: ✭ 49 (-18.33%)
Mutual labels:  lighthouse
e7mon
Ethereum clients monitor
Stars: ✭ 30 (-50%)
Mutual labels:  lighthouse
react-lighthouse-viewer
A React component used for rendering Lighthouse JSON reports Demo:
Stars: ✭ 49 (-18.33%)
Mutual labels:  lighthouse
chrome-trace
Process Chrome trace logs in Node.
Stars: ✭ 15 (-75%)
Mutual labels:  webperf
thvu-blog
My digital home on the internet.
Stars: ✭ 51 (-15%)
Mutual labels:  lighthouse
vue-seo-friendly-spa-template
Vue.js PWA/SPA template initially scaffolded with vue-cli and configured for SEO. Makes use of prerendering and other techniques/packages in order to achieve a perfect "Lighthouse Score".
Stars: ✭ 41 (-31.67%)
Mutual labels:  lighthouse
jekyll-gzip
Generate gzipped assets and files for your Jekyll site at build time
Stars: ✭ 34 (-43.33%)
Mutual labels:  webperf
performance-budget-plugin
Perfromance budget plugin for Webpack (https://webpack.js.org/)
Stars: ✭ 65 (+8.33%)
Mutual labels:  webperf
chicio.github.io
👻 Fabrizio Duroni (me 😄) personal website. Created using GatsbyJS, Styled Components, Storybook, Typescript, tsParticles, GitHub pages, Github Actions, Upptime.
Stars: ✭ 20 (-66.67%)
Mutual labels:  lighthouse
lighthouse-circleci-example
An example repo demonstrating Lighthouse testing in CircleCi
Stars: ✭ 21 (-65%)
Mutual labels:  lighthouse
learning-lighthouse-ci
Learning Google's Lighthouse CI from scratch with a minimal template web app (quickstart)
Stars: ✭ 46 (-23.33%)
Mutual labels:  lighthouse
dashboard.sitespeed.io
Example how to use sitespeed.io to monitor the performance of your web site
Stars: ✭ 43 (-28.33%)
Mutual labels:  webperf
nuxt-delay-hydration
Improve your Nuxt.js v2 Google Lighthouse score by delaying hydration ⚡️
Stars: ✭ 135 (+125%)
Mutual labels:  lighthouse
site-audit-seo
Web service and CLI tool for SEO site audit: crawl site, lighthouse all pages, view public reports in browser. Also output to console, json, csv, xlsx, Google Drive.
Stars: ✭ 91 (+51.67%)
Mutual labels:  lighthouse

lighthouse-mocha-example

Using lighthouse and lighthouse-core with Mocha to run tests on your project/site.

Basic example that gathers performance metrics via Lighthouse and tests them in Mocha. Tested against Chrome headless_shell (available via my Docker container)

image

Try it out!

$ docker pull justinribeiro/chrome-headless
$ docker run -d --net host justinribeiro/chrome-headless
$ git clone [email protected]:justinribeiro/lighthouse-mocha-example.git
$ cd lighthouse-mocha-example
$ npm install
$ npm test

But I want to run this on Travis CI!

Indeed you can. See the included .travis.yml to give you a basic idea of how it works or see the screenshot below.

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].