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

xethorn / garcon / 224 / 2
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2015 10:40PM UTC
Files 8
Run time 136min
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

28 Apr 2015 10:30PM UTC coverage: 87.5% (+0.06%) from 87.441%
224.2

push

travis-ci

xethorn
Introducing Task Lists

Activity generators have been very useful: they allow to spawn n instances of
an activity based on values in the context. The same can be done for tasks (
which makes it very handy when you write the logic units of your activity.)

**Goal**:

The goal of the generators is to provide an wasy way to write a list of tasks
if transformations need to be done within the context. The generator should also
contribute to the calculation of the different timeout values.

An additional goal was to make sure it is backward compatible: the way flows
have been written until today will remain the same.

**Example**:

```python
@task.list
def create_client(context):
    yield create_user.fill(
        username='context.username',
        email='context.email')
    if context.get('context.credit_card'):
        yield create_credit_card.fill(
            username='context.username',
            credit_card='context.credit_card')
    yield send_email.fill(email='context.email')
```

@rantonmattei

371 of 424 relevant lines covered (87.5%)

0.88 hits per line

Source Files on job 224.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 224
  • Travis Job 224.2
  • 19aa9883 on github
  • Prev Job for on master (#221.2)
  • Next Job for on master (#229.2)
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