<?php

namespace Bob\BuildConfig;

# require_once(__DIR__ . '/vendor/autoload.php');
require_once(__DIR__ . '/vendor/spark/spark/bob_tasks/spark.php');

copyTask('phpunit.dist.xml', 'phpunit.xml');

task('test', ['test:unit', 'test:integration']);

task('test:integration', ['phpunit.xml'], function() {
    info("Running integration tests...");
    sh("phpunit tests/integration");
});

task('test:unit', ['phpunit.xml'], function() {
    info("Running unit tests...");
    sh("phpunit tests/unit");
});


<?php

namespace Bob\BuildConfig;

# require_once(__DIR__ . '/vendor/autoload.php');
require_once(__DIR__ . '/vendor/spark/spark/bob_tasks/spark.php');


Move testing tasks to spark tasks
Move testing tasks to spark tasks
