• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

joaomdmoura / machinery / 65 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: guard-transition
DEFAULT BRANCH: master
Ran 16 Dec 2017 09:08PM UTC
Files 2
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Dec 2017 09:01PM UTC coverage: 100.0%. First build
MIX_ENV=test

push

travis-ci

joaomdmoura
Update Machinery DSL, decoupling it from the Struct itself.

By forcing people to send the module where the machinery was imported, as an
argument of `transition_to/2`, we make sure we are enforcing an architecture
where the State Machine logic doesn't needs to be on the Struct module itself
(what in most Web framewokrs end up being the model).
This helps ppl to avoind having a bunch o logic in their models, an old issue
known as Fat Models, while also enbaling ppl to have multiple and reusable
State Machines for different Structs.

25 of 25 relevant lines covered (100.0%)

10.64 hits per line

Source Files on job 65.1 (MIX_ENV=test)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 65
  • Travis Job 65.1
  • 8a26e706 on github
  • Next Job for MIX_ENV=test on decouple-struct (#66.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc