Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crusher-dev/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
https://github.com/crusher-dev/crusher

cypress frontend javascript low-code low-code-framework no-code nodejs playwright playwright-javascript react reactjs selenium test testing typescript vuejs

Last synced: 29 days ago
JSON representation

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

Awesome Lists containing this project

README

        

![Crusher- Low-code testing framework](https://user-images.githubusercontent.com/6849438/204544882-a0ea7aa0-625b-4547-8657-ba1a9e0acc44.png#gh-dark-mode-only)
![Crusher- Low-code testing framework](https://user-images.githubusercontent.com/6849438/204549825-4ab1f713-6068-4da4-86b0-58ddf7747f87.png#gh-light-mode-only)

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

![Crusher demo for test creation, running, cli](https://user-images.githubusercontent.com/6849438/204720236-4139dae2-a0e6-4ce6-a9fb-ab6788ec3cc9.gif)


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](https://discord.gg/dHZkSNXQrg) 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](https://docs.crusher.dev/getting-started/create-your-first-test#or-install-recorder)

Reference: [Getting Started](https://docs.crusher.dev/getting-started/create-your-first-test#using-cli) | [What is Crusher](https://docs.crusher.dev/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](https://crusher.dev) | Zero configuration setup
(Recommended: Faster, cheaper and less hassle)

**Self host:** Deploy using Docker or Kubernetes. [Docs](https://docs.crusher.dev/development/docker-deploy-locally)

## 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](https://docs.crusher.dev/development/setting-up-development-env)
- Found a bug? [File an issue](https://github.com/crusherdev/crusher/issues/new/choose)
- Wanna help? We love pull requests, too!

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