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

joaomdmoura / machinery / 65
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: guard-transition
DEFAULT BRANCH: master
Ran 16 Dec 2017 09:08PM UTC
Jobs 1
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

pending completion
65

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

Jobs
ID Job ID Ran Files Coverage
1 65.1 (MIX_ENV=test) 16 Dec 2017 09:08PM UTC 0
100.0
Travis Job 65.1
Source Files on build 65
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #65
  • 8a26e706 on github
  • Next Build on decouple-struct (#66)
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