/crusher

๐Ÿง™โ€โ™€๏ธ Fast low-code testing โ€” create, run tests and get alerts โฑ๏ธ Create test in <60 secs ๐Ÿ‘‰ Better open source alternative to selenium, cypress and puppeteer

Primary LanguageTypeScriptMIT LicenseMIT

Crusher- Low-code testing framework Crusher- Low-code testing framework

Fast all-in-one testing you'll ever need

Crusher demo for test creation, running, cli

Install Now ยป

Join Discord ยท Explore docs ยท Website


Crusher is a new fast testing framework, it's opinionated and takes a low-code first approach. Create tests by browsing your website and adding assertion when needed.

An alternative to slow workflows built and unreliable & slow libraries (w high learning curve), gluing tools, repetitive script.

Built from group up as an all-in-tool โ€” with recorder, SDK, Infra + batteries built-in.

Crusher is in beta(v0.5). Join Crusher's discord and help us make it better ๐Ÿš€

Star ๐ŸŒŸ & watch ๐Ÿ‘€ the repository in order to get updates about v1.0.0 stable release - it's finally happening (2023๐ŸŽ…) .

Create a test

1.) Run npx command in your git repo.

npx crusher.dev

You can create tests using low-code, code, or both - whichever you prefer. 5 minutes is all you need to start testing

or download binary

Reference: Getting Started | What is Crusher

๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ป Features

1

Create test

  • ๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ป Test using low-code: Create tests using our customized recorder based on chromium
  • ๐Ÿ“‡ Use code files: Better APIs and more control with playwright APIs

Run tests

  • ๐Ÿ”‹ All major browsers supported: Chromium, Firefox, Safari, etc.
  • ๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ป Built for developers: Use modern javascript to write tests with simple workflow
  • ๐Ÿ”ฅ Fast test execution
  • โšก Blazing Fast: Built on top of Playwright, Crusher delivers an amazing performance during execution

Alert & Integration

  • ๐Ÿ“ผ Easy integration with your projects
  • ๐Ÿฆ„ Central reporting & dashboard: See how your app is doing overall anytime-anywhere

โฉ Use cases

  • Test e2e user flows: Never compromise your user experience by testing important end-to-end user flows.
  • Test UI of your project: Never let a UI change catch you off guard.
  • Run tests locally: Test specific functionalities of your app easily with a single click.
  • Test with every commit: Run tests on every commit and add checks on pull requests.
  • Monitor production: Periodically run tests for your website and get notified if something goes wrong.

๐Ÿ’ก Philosophy

If you are involved in software development, you are no stranger to things breaking now and then. Sometimes it's because of a small typo/change, and sometimes because of reasons out of your control.

It seems like every time you are changing something, there is a chance of stuff breaking. The worst part is you're lost, and then someone reports the issue in prod.

Testing solves this, but it hasn't evolved. It's too complicated and sometimes hard. We're solving it by creating an integrated solution that simply works.

๐Ÿงฑ Deployment

Crusher cloud- Start using | Zero configuration setup (Recommended: Faster, cheaper and less hassle)

Self host: Deploy using Docker or Kubernetes. Docs

FAQs

  • I don't have any prior experience, Can I use Crusher? Yes, we primarily designed Crusher to make testing easy. If you have used a browser before, you can use Crusher.
  • Low-code ain't powerful, I believe code is more powerful:- Fair enough, we believe in both. We're also working on a code-first approach.
  • Why use this over selenium, cypress, etc? With any library, you'll have to spend a lot of time setting up the testing framework for your project. With us, you can start testing right away. We're also built on top of playwright, which is a more stable and faster automation library.
  • Why a new framework? Testing has not evolved. It can be quite frustrating to setup and maintain. With Crusher, we're trying to make it easy and fun.
  • Is Crusher using Electron? Yes, we forked Electron to create our own chromium-based browser.

Contribute to Crusher

  • Setup crusher locally Docs
  • Found a bug? File an issue
  • Wanna help? We love pull requests, too!

License

This repo is entirely MIT licensed, except the /src_ee directory (if applicable).