Popularity
4.0
Growing
Activity
4.5
Growing
515
10
30

Description

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.

Programming language: TypeScript
License: MIT License
Tags: Testing     TDD     Test     Selenium     Assert     Puppeteer     Playwright    
Latest version: v1.5.0

Crusher alternatives and similar modules

Based on the "Testing" category.
Alternatively, view crusher alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Crusher or a related project?

Add another 'Testing' Module

README

Fast all-in-one testing framework

Crusher is an all-in-one testing framework. It includes everything w.r.t to e2e testing, with low-code recorder, runner + batteries built-in.

It's an alternative to the "traditional" testing workflow, where you:

  • Choose a testing library & runner (Jest, Cypress, Playwright, Puppeteer, etc.)
  • Setup framework according to your needs
  • Write stable tests that take hours

🀦 More annoying tasks during testing

  • πŸ”‹ Find the right selectors that work.
  • πŸš₯ Setup CI/CD to run tests
  • πŸ’° Start paying for every little thing ( or start building your own framework )
    • Pay for cloud services to run tests on different browser
    • Set up a reporting system to view test results - Cypress cloud
    • Image comparison tool to compare visual changes - Percy
  • 🚨 And don't forget to set up alerts for test failures - Slack/Discord/Emails - plus lot more things like test management, debug, updating breaking tests etc.

Crusher uses low-code approach and is built on top of playwright. Our primary focus is stability, speed, and better developer experience.

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

Getting started

β˜„οΈCreate your first test

npx crusher.dev

or download binary

πŸš– Run test

npx crusher.dev test:run

You can run tests locally on your machine to debug. Run it on our cloud for faster execution.

Reference: Getting Started | What is Crusher

πŸ‘¨πŸ½β€πŸ’» Features

Crusher has a lot of features, some of the major ones are

  • πŸ‘¨πŸ½β€πŸ’» Test using low-code: Create tests using our customized recorder based on chromium
  • πŸ“‡ Use code files: Better APIs and more control with playwright APIs
  • πŸ”‹ All major browsers supported:
  • πŸ‘¨πŸ½β€πŸ’» 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
  • πŸ“Ό 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).


*Note that all licence references and agreements mentioned in the Crusher README section above are relevant to that project's source code only.