Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package initialise prepares workspaces to be used as test packs The chosen target to initialise must be a valid folder that exists and is empty // Initialise the current working directory if err := initialise.CurrentFolder(); err != nil { log.Errorf("Failed to initialise: %v", err) } // Initialise a specified folder if err := initialise.Folder("/path/to/folder"); err != nil { log.Errorf("Failed to initialise: %v", err) } In both instances, the following structure will be created: + ./ + .gitignore + config/ # Holds configuration for the test pack + default.json + pages/ # Object page definitions + tests/ # Test specifications + results/ # Test output
|
Package initialise prepares workspaces to be used as test packs The chosen target to initialise must be a valid folder that exists and is empty // Initialise the current working directory if err := initialise.CurrentFolder(); err != nil { log.Errorf("Failed to initialise: %v", err) } // Initialise a specified folder if err := initialise.Folder("/path/to/folder"); err != nil { log.Errorf("Failed to initialise: %v", err) } In both instances, the following structure will be created: + ./ + .gitignore + config/ # Holds configuration for the test pack + default.json + pages/ # Object page definitions + tests/ # Test specifications + results/ # Test output |
Click to show internal directories.
Click to hide internal directories.