vigetlabs / microcosm

Flux with actions at center stage. Write optimistic updates, cancel requests, and track changes with ease.

Home Page:http://code.viget.com/microcosm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only test the public API

nhunzaker opened this issue · comments

I want to start experimenting with tools to reduce the build size, like (buble or Google Closure Compiler), and improve execution time (like prepack).

The problem is that, for the sake of test coverage, we directly test private APIs quite a bit. Frankly, I'm really not sure if this is a good or bad thing. However it's definitely a bad thing for tools that change code during the build process.

Ideally, our test suite always runs against the code that hits production.

  • action
  • compare-tree
  • domain
  • effect
  • history
  • key-path
  • microcosm
  • middleware
  • utils