public function getSuitesForPath($path)
    {
        $projects = $this->getProjects();

        // Reduce the collection of projects by those whose path properties
        // (should be only 1) are contained in the fullpath of our
        // changed file
        $filtered_projects = $projects->filter(function ($project) use ($path) {
            return substr_count($path, $project->path) > 0;
        });

        // Get filtered projects dependencies
        $depends = $projects->filter(function ($project) use ($filtered_projects) {
            if (!is_null($depends = config("tddd.projects.{$project->name}.depends"))) {
                return collect($depends)->filter(function ($item) use ($filtered_projects) {
                    return !is_null($filtered_projects->where('name', $item)->first());
                });
            }

            return false;
        });

        // At this point we have (hopefully only 1) project. Now we need
        // the suite(s) associated with the project.
        return Suite::whereIn('project_id', $filtered_projects->merge($depends)->pluck('id'))
                    ->get();
    }