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.
- 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...