2.2.0 • Published 2 years ago

piumino v2.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Piumino

Piumino, meaning duvet in Italian, is like a duvet over the bed called Angular TestBed. It provides test helpers to test trivial things like inputs and outputs with a single line.

Requirements

  • Tests that use Angular TestBed (either directly or under the hood, so long as a fixture is available)
  • Jest or Jasmine (other frameworks will likely work as well but are untested)

Installation

npm i -D piumino

Usage

Import Piumino into the test file and construct it.

import { Piumino } from "piumino";

const piumino = new Piumino();

Then init it with the fixture from TestBed.

piumino.init(fixture);

TODO

  • Add tests
  • Add documentation
  • Add .toCallThrough() to input/output matcher
  • Make .toBeBoundTo() in input matcher work with getters
  • Make .toBeBoundTo() in output matcher work with setters
2.4.1

2 years ago

2.4.0

2 years ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.5

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago