Skip to content

zixiao-labs/Lightning

Repository files navigation

Lightning

A Next Generation Testing Framework

Lightning is a Next Generation Testing Framework for Frontend and Nodejs backend applications. It is built on top of Playwright and provides a simple and intuitive API for writing tests. Lightning is designed to be fast, reliable, and easy to use.

Features

  • Nasti's config, transformers, resolvers, and plugins
  • Built on top of Playwright
  • Simple and intuitive API
  • Fast and reliable
  • Easy to use
  • Vitest and Jest compatible
  • Smart & instant watch mode, like HMR for tests!
  • Out-of-the-box TypeScript / JSX support
  • ESM first, top level await
  • Benchmarking support with Tinybench
  • Filtering, timeouts, concurrent for suite and tests
  • Projects support
  • Snapshot testing
  • Code coverage via v8-coverage (statement/branch percentages are line-based approximations)
  • Test retries and test isolation
  • Wuling DevOps Test Plan deep integration(planned)
  • happy-dom or jsdom for DOM mocking
  • Type Testing via expect-type
  • Sharding Support
  • Reporting Uncaught Errors
  • and more...

About

比神霄派雷法还快的测试框架

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors