Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scotty-web / scotty / 246
57%

Build:
DEFAULT BRANCH: master
Ran 21 Aug 2017 11:32PM PDT
Jobs 4
Files 6
Run time 1min
Badge
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

21 Aug 2017 - 23:26 coverage: 57.576% (+0.3%) from 57.273%
246

Pull #181

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
Make ScottyT a transformer again

We can have decoupled monads for ScottyT and ActionT if ScottyT is parametrised
by two monads. This breaks the API a lot because it changes the kind of ScottyT
but it allows for composable components.
With this change it is possible to write several "components" of type `ScottyT e
m n a` and bind them together. By a "component" I mean something that can do
its own setup and teardown in some custom monad stack (e.g. open db connection
in IO).
This is currently not possible since ScottyT is not a true transformer but fixed
over identity.
Pull Request #181: Make ScottyT a transformer again

190 of 330 relevant lines covered (57.58%)

4.25 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
68.97
1.15% ./Web/Scotty/Route.hs
Jobs
ID Job ID Ran Files Coverage
1 246.1 (CABALVER=1.24 GHCVER=7.6.3) 21 Aug 2017 11:32PM PDT 6
57.93
Travis Job 246.1
2 246.2 (CABALVER=1.24 GHCVER=7.8.4) 21 Aug 2017 11:33PM PDT 6
57.58
Travis Job 246.2
3 246.3 (CABALVER=1.24 GHCVER=7.10.3) 21 Aug 2017 11:34PM PDT 6
57.58
Travis Job 246.3
4 246.4 (CABALVER=1.24 GHCVER=8.0.2) 21 Aug 2017 11:33PM PDT 6
57.58
Travis Job 246.4
Source Files on build 246
  • List 6
  • Changed 4
  • Source Changed 4
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #246
  • Pull Request #181
  • PR Base - master (#242)
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2023 Coveralls, Inc