Skip to content

dylanparry/ceylon

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ceylon Travis npm package

Ceylon

Ceylon is an assertion library for unit testing written in TypeScript. It can be used in TypeScript or in plain old JavaScript.

It is based upon the API for expect, with the added bonus of full TypeScript definitions, meaning there's no need to go looking for a d.ts file.

Ceylon aims to simplify unit testing in TypeScript by making it easy to write assertions.

Example Usage

import expect from 'ceylon';

expect(100)
    .toExist()
    .toBeA('number')
    .toBeLessThan(200)
    .toBeGreaterThan(5)
    .toNotBe(90);

For a complete reference visit the Ceylon Wiki.

About

An assertion library for TypeScript and JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published