0.2.5 • Published 2 years ago

hjemmesnekret v0.2.5

Weekly downloads
-
License
???
Repository
-
Last release
2 years ago

Hjemmesnekret

(Simple) proof of concept testing framework to profile other tests frameworks. Same interface as jest to make it easy to switch to.

Speed vs jest

Here is the time difference for running all tests in tinyeth between hjemmesnekret and jest.

Jest does some cacheing, and that's why the speed decreases after the first run for jest.

results

Functionality

  • describe, it, beforeEach, beforeAll
  • expect
    • toBeTruthy
    • toHaveLength
    • toBeInstanceOf
    • toBe
    • toBeDefined
    • toBeUndefined
    • toBeLessThan
    • toBeLessThanOrEqual
    • toBeGreaterThanOrEqual
    • toBeGreaterThan
    • toContain
    • toContainEqual
    • toEqual
    • toMatchObject
    • toBeFalsy
    • toThrowError
    • toThrow
    • rejects and resolves

TODO

Some features I still want to add.

  • jest timer
  • inline snapshot
  • Add object differ, and improved error messages
  • Add a real stacktrace with support for js.map
0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago