Skip to content

Commit

Permalink
docs: update location of TESTGROUND_HOME to xdg directory specification
Browse files Browse the repository at this point in the history
  • Loading branch information
dougEfresh committed Dec 12, 2022
1 parent 68a6f03 commit dfcab80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion concepts-and-architecture/builders.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ None of these options are required and need only be edited if the defaults do no

## Examples

Single build for a single test for the example/output plan using the exec:go builder. This command will produce a binary which you can find in `~/testground/` on Linux and macOS systems.
Single build for a single test for the example/output plan using the exec:go builder. This command will produce a binary which you can find in `~/.config/testground/` on Linux or `~/Library/Application Support/testground` on macOS systems.

```bash
$ testground build single --plan=example --builder=exec:go --wait
Expand Down
2 changes: 1 addition & 1 deletion getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Configure `$TESTGROUND_HOME` and copy the example `network` test plan into the `

```bash
# assuming you already started your Testground daemon (as instructed above)
# there should be a `testground` directory in your home folder, i.e. `~/testground`
# there should be a `testground` directory in your home folder, i.e. `~/.config/testground` or ~/Library/Application Support/testground
#
# from your testground/testground Git checkout, run:
$ testground plan import --from ./plans/network
Expand Down
4 changes: 2 additions & 2 deletions writing-test-plans/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Go through the [Getting started](../getting-started.md) page and follow the inst

### 2. Create a test plan

Testground stores plans in the `$TESTGROUND_HOME` directory. This directory is created for you in your `home` directory, but if you prefer to store plans in another location, you can adjust the location using the environment variable.
Testground stores plans in the `$TESTGROUND_HOME` directory. This directory is created for you in `~/.config/testground` (linux) or ` ~/Library/Application Support/testground` (mac), but if you prefer to store plans in another location, you can adjust the location using the environment variable.

```bash
# OPTIONAL - adjust TESTGROUND_HOME, default is ~/testground
# OPTIONAL - adjust TESTGROUND_HOME, default is ~/.config/testground or ~/Library/Application Support/testground on mac
$ export TESTGROUND_HOME=/path/to/testground/home

# create your first test plan
Expand Down

0 comments on commit dfcab80

Please sign in to comment.