Chai

Open source

Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.

Contribute


Become a financial contributor.

Financial Contributions

Recurring contribution

Backers

Support us with a monthly donation and help us continue our activities.

Starts at$2 USD / month

Latest activity by


+ 17
Custom contribution

Donation

Make a custom one-time or recurring contribution.

Latest activity by


+ 37

Top financial contributors

Organizations

1
Principal Financial Group

$2,600 USD since Dec 2018

2
Airbnb

$1,882 USD since May 2018

3
CodePilot.ai

$250 USD since Feb 2018

4
Avrios

$100 USD since Mar 2021

5
Sentry

$100 USD since Oct 2021

6
Metabolize

$92 USD since Mar 2018

7
Open Collective

$60 USD since Dec 2018

8
CodeFund

$48.37 USD since Nov 2019

9
Standard Resume

$38 USD since May 2020

10
Triplebyte

$35 USD since May 2019

Individuals

1
David Passarelli

$142 USD since Nov 2018

2
JeongHoon Byun

$98 USD since Dec 2017

3
Tim Oram

$96 USD since May 2017

4
Marco Barcellos

$64 USD since Sep 2018

5
Web Desserts

$60 USD since Jun 2016

6
Dario Novoa

$50 USD since Nov 2016

7
Dario Novoa

$50 USD since Nov 2016

8
Andrew Spiers

$40 USD since Sep 2017

9
Rocco Curcio

$30 USD since Apr 2017

10
Keith Cirkel

$20 USD since Oct 2014

Chai is all of us

Our contributors 46

Thank you for supporting Chai.

Keith Cirkel

Admin

$20 USD

Airbnb

Backers

$1,882 USD

CodePilot.ai

$250 USD

David Passarelli

Backers

$142 USD

Avrios

Backers

$100 USD

Sentry

$100 USD

JeongHoon Byun

Backers

$98 USD

Budget


Transparent and open finances.

$
Today’s balance

$4,728.63 USD

Total raised

$5,135.41 USD

Total disbursed

$406.78 USD

Estimated annual budget

$1,472.81 USD

About


Chai has several interfaces that allow the developer to choose the most comfortable. The chain-capable BDD styles provide an expressive language & readable style, while the TDD assert style provides a more classical feel.

Plugins extend Chai's assertions to new contexts such as vendor integration & object construction. Developers can build their own plugins to share with community or use the plugin pattern to DRY up existing tests.