human
I wrote the below code

    from lettuce import step
    from lettuce import Runner
    from lettuce.terrain import before, after, world
    world.all_steps = []
    @before.all
    def set_state_to_before():
        world.all_steps.append('before')
    @step('append    1    in    world    all    steps')
    def append_1_in_world_all_steps(step):
        world.all_steps.append('1')
    @step('append    2    more')
    def append_2_more(step):
        world.all_steps.append('2')
    @step('append    3    in    world    all    steps')
    def append_during_to_all_steps(step):
        world.all_steps.append('3')
    @after.all
    def set_state_to_after(total):
        world.all_steps.append('after')
    runner = Runner(join(abspath(dirname(__file__)), 'simple_features', '2nd_feature_dir'))
    runner.run()
    assert_equals(world.all_steps, ['before', '1', '2', '3', 'after'])

What's a good function header?
assistant
#Here's a good function header.

@with_setup(prepare_stdout)
def test_after_each_all_is_executed_before_each_all():