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

xethorn / garcon / 224
95%

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

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%)

1.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 224.1 28 Apr 2015 11:41PM UTC 0
87.5
Travis Job 224.1
2 224.2 28 Apr 2015 10:40PM UTC 0
87.5
Travis Job 224.2
Source Files on build 224
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #224
  • 19aa9883 on github
  • Prev Build on master (#221)
  • Next Build on master (#229)
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