github.com/getgauge/gauge@v1.6.9/skel/skel.go (about)

     1  /*----------------------------------------------------------------
     2   *  Copyright (c) ThoughtWorks, Inc.
     3   *  Licensed under the Apache License, Version 2.0
     4   *  See LICENSE in the project root for license information.
     5   *----------------------------------------------------------------*/
     6  
     7  package skel
     8  
     9  var DefaultProperties = `# default.properties
    10  # properties set here will be available to the test execution as environment variables
    11  
    12  # sample_key = sample_value
    13  
    14  # The path to the gauge reports directory. Should be either relative to the project directory or an absolute path
    15  gauge_reports_dir = reports
    16  
    17  # Set as false if gauge reports should not be overwritten on each execution. A new time-stamped directory will be created on each execution.
    18  overwrite_reports = true
    19  
    20  # Set to false to disable screenshots on failure in reports.
    21  screenshot_on_failure = true
    22  
    23  # The path to the gauge logs directory. Should be either relative to the project directory or an absolute path
    24  logs_directory = logs
    25  
    26  # Set to true to use multithreading for parallel execution
    27  enable_multithreading = false
    28  
    29  # The path the gauge specifications directory. Takes a comma separated list of specification files/directories.
    30  gauge_specs_dir = specs
    31  
    32  # The default delimiter used read csv files.
    33  csv_delimiter = ,
    34  
    35  # Allows steps to be written in multiline
    36  allow_multiline_step = false
    37  `
    38  var ExampleSpec = `# Specification Heading
    39  
    40  This is an executable specification file. This file follows markdown syntax.
    41  Every heading in this file denotes a scenario. Every bulleted point denotes a step.
    42  
    43  To execute this specification, run
    44  
    45      gauge specs
    46  
    47  
    48  * Vowels in English language are "aeiou".
    49  
    50  ## Vowel counts in single word
    51  
    52  tags: single word
    53  
    54  * The word "gauge" has "3" vowels.
    55  
    56  
    57  ## Vowel counts in multiple word
    58  
    59  This is the second scenario in this specification
    60  
    61  Here's a step that takes a table
    62  
    63  * Almost all words have vowels
    64       |Word  |Vowel Count|
    65       |------|-----------|
    66       |Gauge |3          |
    67       |Mingle|2          |
    68       |Snap  |1          |
    69       |GoCD  |1          |
    70       |Rhythm|0          |
    71  `
    72  var Notice = `
    73  | Dependency Name | Copyright Information | Description |	Repo URL | License Type	| License URL |	Forked from |
    74  |-----------------|-----------------------|-------------|----------|--------------|-------------|-------------|
    75  |Goproperties|Copyright (c) 2012 The Goproperties Authors.|Simple library for reading .properties (java properties) files for Go	|github.com/dmotylev/goproperties	|BSD Styled|	https://raw.githubusercontent.com/dmotylev/goproperties/master/LICENSE|
    76  |Gauge Common|	Copyright 2015 ThoughtWorks, Inc|	|	github.com/getgauge/common|	Apache2.0	|||
    77  |terminal|	Copyright (c) 2013 Meng Zhang	|Colorful terminal output for Golang|github.com/wsxiaoys/terminal	|BSD Styled|https://raw.githubusercontent.com/wsxiaoys/terminal/master/LICENSE||
    78  |gocheck| Copyright (c) 2010-2013 Gustavo Niemeyer <gustavo@niemeyer.net>	|Rich testing for the Go language	|gopkg.in/check.v1	|Simplified BSD	|https://raw.githubusercontent.com/go-check/check/v1/LICENSE||
    79  |protobuf	|Copyright 2010 The Go Authors.	|Go support for Google's protocol buffers	|https://google.golang.org/protobuf	|BSD Styled	|https://raw.githubusercontent.com/golang/protobuf/master/LICENSE|
    80  |grpc-go|Copyright 2014 gRPC authors|The Go language implementation of gRPC. HTTP/2 based RPC|https://google.golang.org/grpc|Apache 2.0|http://www.apache.org/licenses/LICENSE-2.0||
    81  |go-logging|Copyright (c) 2013 Örjan Persson.|Golang logging library|https://github.com/op/go-logging|BSD 3-clause|https://github.com/op/go-logging/blob/master/LICENSE||
    82  |lumberjack|Copyright (c) 2014 Nate Finch |lumberjack is a rolling logger for Go|github.com/natefinch/lumberjack|MIT|https://github.com/natefinch/lumberjack/blob/v2.0/LICENSE||
    83  |go-ogle-analytics|Copyright © 2015 dev@jpillora.com, Google Inc.|Monitor your Go (golang) servers with Google Analytics|github.com/jpillora/go-ogle-analytics|MIT|https://github.com/jpillora/go-ogle-analytics/blob/master/LICENSE||
    84  |fsnotify|Copyright (c) 2012 The Go Authors. All rights reserved.Copyright (c) 2012 fsnotify Authors. All rights reserved.|Cross-platform file system notifications for Go. https://fsnotify.org|github.com/fsnotify/fsnotify|BSD 3-clause|https://github.com/fsnotify/fsnotify/blob/master/LICENSE||
    85  |go-colortext|Copyright (c) 2016, David Deng|Change the color of console text.|github.com/daviddengcn/go-colortext|BSD 3-clause|https://github.com/daviddengcn/go-colortext/blob/master/LICENSE||
    86  |goterminal|Copyright (c) 2015 Apoorva M|A cross-platform Go-library for updating progress in terminal.|github.com/apoorvam/goterminal|MIT|https://github.com/apoorvam/goterminal/blob/master/LICENSE||
    87  |go.uuid|Copyright (C) 2013-2016 by Maxim Bublis <b@codemonkey.ru>|UUID package for Go|github.com/satori/go.uuid|MIT|https://github.com/satori/go.uuid/blob/master/LICENSE||
    88  |go-langserver|Copyright (c) 2016 Sourcegraph|Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP)|github.com/sourcegraph/go-langserver|MIT|https://github.com/sourcegraph/go-langserver/blob/master/LICENSE||
    89  |jsonrpc2|Copyright (c) 2016 Sourcegraph Inc|Package jsonrpc2 provides a client and server implementation of JSON-RPC 2.0|github.com/sourcegraph/jsonrpc2|MIT|https://github.com/sourcegraph/jsonrpc2/blob/master/LICENSE||
    90  |cobra|Copyright © 2015 Steve Francia <spf@spf13.com>.|A Commander for modern Go CLI interactions|github.com/spf13/cobra|Apache 2.0|https://github.com/spf13/cobra/blob/master/LICENSE||
    91  |pflag|Copyright (c) 2012 Alex Ogier. All rights reserved.Copyright (c) 2012 The Go Authors. All rights reserved.|Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.|github.com/spf13/pflag|BSD 3-clause|https://github.com/spf13/pflag/blob/master/LICENSE|https://github.com/ogier/pflag|
    92  `
    93  
    94  var Gitignore = `# Gauge - metadata dir
    95  .gauge
    96  
    97  # Gauge - log files dir
    98  logs
    99  
   100  # Gauge - reports generated by reporting plugins
   101  reports
   102  
   103  `