Skip to content

Tests #69

Closed
Closed

Description

@ericclemmons

For the love of God, we need tests for this project.

At the very least, something that can run via .travis.yml, run ./bin/provision, and confirm that everything loads & runs.

Activity

  1. EvanK commented on Nov 20, 2013

    @EvanK
    Contributor

    If we're talking tests for genesis itself rather than a genesis based site, we could run syntax checks on the playbooks:

    # presuming that $HOME is the root of a checked out genesis repo...
    
    # symlink INCEPTION
    mkdir -p $HOME/generator/app/templates/bower_components
    ln -s $HOME $HOME/generator/app/templates/bower_components/genesis-wordpress
    
    # run bin/provision for syntax checks
    chmod +x $HOME/generator/app/templates/bin/provision 
    sudo $HOME/generator/app/templates/bin/provision --syntax-check
  2. ericclemmons commented on Nov 20, 2013

    @ericclemmons
    ContributorAuthor

    I think we'd need to confirm the genesis-based site so that the full provisioning script can be confirmed. Which means, most of the tests will rely on travis, but a local Vagrantfile for testing would suffice, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions