github.com/bilus/oya@v0.0.3-0.20190301162104-da4acbd394c6/features/init.feature (about)

     1  Feature: Initialization
     2  
     3  Background:
     4     Given I'm in project dir
     5  
     6  Scenario: Init a project
     7    When I run "oya init"
     8    Then the command succeeds
     9    And file ./Oyafile exists
    10  
    11  Scenario: Init a existing project
    12    When I run "oya init"
    13    And I run "oya init"
    14    Then the command fails with error matching
    15    """
    16    .*already an Oya project.*
    17    """