Skip to content

Commit

Permalink
add cmd tests todo
Browse files Browse the repository at this point in the history
  • Loading branch information
ruy-dan committed Jun 28, 2024
1 parent 97524f8 commit db91309
Showing 1 changed file with 304 additions and 4 deletions.
308 changes: 304 additions & 4 deletions test/05-commands.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,307 @@ test('pear stage --json <channel> <dir>', async function ({ plan, alike, is }) {
is(code, 0)
})

test('commands teardown', async ({ pass }) => {
await setup.shutdown()
pass('sidecar stopped')
})
test.todo('pear init -y')
test.todo('pear init -y --force')
test.todo('pear init -y --type <type>')
test.todo('pear init -y --type <type> --force')
test.todo('pear init -y --type <type> --with <name>')
test.todo('pear init -y --type <type> --with <name> --force')
test.todo('pear init -y --with <name>')
test.todo('pear init -y --with <name> --force')

test.todo('pear stage <channel> <dir>')
test.todo('pear stage --dry-run <channel> <dir>')
test.todo('pear stage --dry-run --json <channel> <dir>')
test.todo('pear stage --bare <channel> <dir>')
test.todo('pear stage --bare --json <channel> <dir>')
test.todo('pear stage --ignore <list> <channel> <dir>')
test.todo('pear stage --ignore <list> --json <channel> <dir>')
test.todo('pear stage --truncate <n> <channel> <dir>')
test.todo('pear stage --truncate <n> --json <channel> <dir>')
test.todo('pear stage --name <name> <channel> <dir>')
test.todo('pear stage --name <name> --json <channel> <dir>')
test.todo('pear stage --dry-run --bare <channel> <dir>')
test.todo('pear stage --dry-run --bare --json <channel> <dir>')
test.todo('pear stage --dry-run --ignore <list> <channel> <dir>')
test.todo('pear stage --dry-run --ignore <list> --json <channel> <dir>')
test.todo('pear stage --dry-run --truncate <n> <channel> <dir>')
test.todo('pear stage --dry-run --truncate <n> --json <channel> <dir>')
test.todo('pear stage --dry-run --name <name> <channel> <dir>')
test.todo('pear stage --dry-run --name <name> --json <channel> <dir>')
test.todo('pear stage --bare --ignore <n> <channel> <dir>')
test.todo('pear stage --bare --ignore <list> --json <channel> <dir>')
test.todo('pear stage --bare --truncate <n> <channel> <dir>')
test.todo('pear stage --bare --truncate <n> --json <channel> <dir>')
test.todo('pear stage --bare --name <name> <channel> <dir>')
test.todo('pear stage --bare --name <name> --json <channel> <dir>')
test.todo('pear stage --ignore <list> --truncate <n> <channel> <dir>')
test.todo('pear stage --ignore <list> --truncate <n> --json <channel> <dir>')
test.todo('pear stage --ignore <list> --name <name> <channel> <dir>')
test.todo('pear stage --ignore <list> --name <name> --json <channel> <dir>')
test.todo('pear stage --truncate <n> --name <name> <channel> <dir>')
test.todo('pear stage --truncate <n> --name <name> --json <channel> <dir>')
test.todo('pear stage --dry-run --bare --ignore <list> <channel> <dir>')
test.todo('pear stage --dry-run --bare --ignore <list> --json <channel> <dir>')
test.todo('pear stage --dry-run --bare --truncate <n> <channel> <dir>')
test.todo('pear stage --dry-run --bare --truncate <n> --json <channel> <dir>')
test.todo('pear stage --dry-run --bare --name <name> <channel> <dir>')
test.todo('pear stage --dry-run --bare --name <name> --json <channel> <dir>')
test.todo('pear stage --dry-run --bare --ignore <list> --truncate <n> <channel> <dir>')
test.todo('pear stage --dry-run --bare --ignore <list> --truncate <n> --json <channel> <dir>')
test.todo('pear stage --dry-run --bare --ignore <list> --name <name> <channel> <dir>')
test.todo('pear stage --dry-run --bare --ignore <list> --name <name> --json <channel> <dir>')
test.todo('pear stage --dry-run --bare --ignore <list> --truncate <n> --name <name> <channel> <dir>')
test.todo('pear stage --dry-run --bare --ignore <list> --truncate <n> --name <name> --json <channel> <dir>')

test.todo('pear stage <link>')
test.todo('pear stage --json <link>')
test.todo('pear stage --dry-run <link>')
test.todo('pear stage --dry-run --json <link>')
test.todo('pear stage --bare <link>')
test.todo('pear stage --bare --json <link>')
test.todo('pear stage --ignore <list> <link>')
test.todo('pear stage --ignore <list> --json <link>')
test.todo('pear stage --truncate <n> <link>')
test.todo('pear stage --truncate <n> --json <link>')
test.todo('pear stage --name <name> <link>')
test.todo('pear stage --name <name> --json <link>')
test.todo('pear stage --dry-run --bare <link>')
test.todo('pear stage --dry-run --bare --json <link>')
test.todo('pear stage --dry-run --ignore <list> <link>')
test.todo('pear stage --dry-run --ignore <list> --json <link>')
test.todo('pear stage --dry-run --truncate <n> <link>')
test.todo('pear stage --dry-run --truncate <n> --json <link>')
test.todo('pear stage --dry-run --name <name> <link>')
test.todo('pear stage --dry-run --name <name> --json <link>')
test.todo('pear stage --bare --ignore <n> <link>')
test.todo('pear stage --bare --ignore <list> --json <link>')
test.todo('pear stage --bare --truncate <n> <link>')
test.todo('pear stage --bare --truncate <n> --json <link>')
test.todo('pear stage --bare --name <name> <link>')
test.todo('pear stage --bare --name <name> --json <link>')
test.todo('pear stage --ignore <list> --truncate <n> <link>')
test.todo('pear stage --ignore <list> --truncate <n> --json <link>')
test.todo('pear stage --ignore <list> --name <name> <link>')
test.todo('pear stage --ignore <list> --name <name> --json <link>')
test.todo('pear stage --truncate <n> --name <name> <link>')
test.todo('pear stage --truncate <n> --name <name> --json <link>')
test.todo('pear stage --dry-run --bare --ignore <list> <link>')
test.todo('pear stage --dry-run --bare --ignore <list> --json <link>')
test.todo('pear stage --dry-run --bare --truncate <n> <link>')
test.todo('pear stage --dry-run --bare --truncate <n> --json <link>')
test.todo('pear stage --dry-run --bare --name <name> <link>')
test.todo('pear stage --dry-run --bare --name <name> --json <link>')
test.todo('pear stage --dry-run --bare --ignore <list> --truncate <n> <link>')
test.todo('pear stage --dry-run --bare --ignore <list> --truncate <n> --json <link>')
test.todo('pear stage --dry-run --bare --ignore <list> --name <name> <link>')
test.todo('pear stage --dry-run --bare --ignore <list> --name <name> --json <link>')
test.todo('pear stage --dry-run --bare --ignore <list> --truncate <n> --name <name> <link>')
test.todo('pear stage --dry-run --bare --ignore <list> --truncate <n> --name <name> --json <link>')

test.todo('pear seed <channel> <dir>')
test.todo('pear seed --json <channel> <dir>')
test.todo('pear seed --verbose <channel> <dir>')
test.todo('pear seed --verbose --json <channel> <dir>')
test.todo('pear seed --seeders <key> <channel> <dir>')
test.todo('pear seed --seeders <key> --json <channel> <dir>')
test.todo('pear seed --name <name> <channel> <dir>')
test.todo('pear seed --name <name> --json <channel> <dir>')
test.todo('pear seed --verbose --seeders <key> <channel> <dir>')
test.todo('pear seed --verbose --seeders <key> --json <channel> <dir>')
test.todo('pear seed --verbose --name <name> <channel> <dir>')
test.todo('pear seed --verbose --name <name> --json <channel> <dir>')
test.todo('pear seed --verbose --seeders <key> --name <name> <channel> <dir>')
test.todo('pear seed --verbose --seeders <key> --name <name> --json <channel> <dir>')

test.todo('pear seed <link>')
test.todo('pear seed --json <link>')
test.todo('pear seed --verbose <link>')
test.todo('pear seed --verbose --json <link>')
test.todo('pear seed --seeders <key> <link>')
test.todo('pear seed --seeders <key> --json <link>')
test.todo('pear seed --name <name> <link>')
test.todo('pear seed --name <name> --json <link>')
test.todo('pear seed --verbose --seeders <key> <link>')
test.todo('pear seed --verbose --seeders <key> --json <link>')
test.todo('pear seed --verbose --name <name> <link>')
test.todo('pear seed --verbose --name <name> --json <link>')
test.todo('pear seed --verbose --seeders <key> --name <name> <link>')
test.todo('pear seed --verbose --seeders <key> --name <name> --json <link>')

test.todo('pear run <link>')
test.todo('pear run <link> --updates-diff')
test.todo('pear run <link> --no-updates')
test.todo('pear run <link> --entrypoint')
test.todo('pear run <link> --link <url>')
test.todo('pear run <link> --store <path>')
test.todo('pear run <link> --tmp-store')
test.todo('pear run <link> --unsafe-clear-app-storage')
test.todo('pear run <link> --unsafe-clear-preferences')
test.todo('pear run <link> --appling <path>')
test.todo('pear run <link> --checkout <n>')
test.todo('pear run <link> --checkout release')
test.todo('pear run <link> --checkout staged')

test.todo('pear run <link> --updates-diff --no-updates')
test.todo('pear run <link> --updates-diff --entrypoint <file>')
test.todo('pear run <link> --updates-diff --store <path>')
test.todo('pear run <link> --updates-diff --tmp-store')
test.todo('pear run <link> --updates-diff --unsafe-clear-app-storage')
test.todo('pear run <link> --updates-diff --unsafe-clear-preferences')
test.todo('pear run <link> --updates-diff --appling <path>')
test.todo('pear run <link> --updates-diff --checkout <n>')
test.todo('pear run <link> --updates-diff --checkout release')
test.todo('pear run <link> --updates-diff --checkout staged')
test.todo('pear run <link> --no-updates --entrypoint <file>')
test.todo('pear run <link> --no-updates --store <path>')
test.todo('pear run <link> --no-updates --tmp-store')
test.todo('pear run <link> --no-updates --unsafe-clear-app-storage')
test.todo('pear run <link> --no-updates --unsafe-clear-preferences')
test.todo('pear run <link> --no-updates --appling <path>')
test.todo('pear run <link> --no-updates --checkout <n>')
test.todo('pear run <link> --no-updates --checkout release')
test.todo('pear run <link> --no-updates --checkout staged')
test.todo('pear run <link> --entrypoint <file> --store <path>')
test.todo('pear run <link> --entrypoint <file> --tmp-store')
test.todo('pear run <link> --entrypoint <file> --unsafe-clear-app-storage')
test.todo('pear run <link> --entrypoint <file> --unsafe-clear-preferences')
test.todo('pear run <link> --entrypoint <file> --appling <path>')
test.todo('pear run <link> --entrypoint <file> --checkout <n>')
test.todo('pear run <link> --entrypoint <file> --checkout release')
test.todo('pear run <link> --entrypoint <file> --checkout staged')
test.todo('pear run <link> --store <path> --tmp-store')
test.todo('pear run <link> --store <path> --unsafe-clear-app-storage')
test.todo('pear run <link> --store <path> --unsafe-clear-preferences')
test.todo('pear run <link> --store <path> --appling <path>')
test.todo('pear run <link> --store <path> --checkout <n>')
test.todo('pear run <link> --store <path> --checkout release')
test.todo('pear run <link> --store <path> --checkout staged')
test.todo('pear run <link> --tmp-store --unsafe-clear-app-storage')
test.todo('pear run <link> --tmp-store --unsafe-clear-preferences')
test.todo('pear run <link> --tmp-store --appling <path>')
test.todo('pear run <link> --tmp-store --checkout <n>')
test.todo('pear run <link> --tmp-store --checkout release')
test.todo('pear run <link> --tmp-store --checkout staged')
test.todo('pear run <link> --unsafe-clear-app-storage --unsafe-clear-preferences')
test.todo('pear run <link> --unsafe-clear-app-storage --appling <path>')
test.todo('pear run <link> --unsafe-clear-app-storage --checkout <n>')
test.todo('pear run <link> --unsafe-clear-app-storage --checkout release')
test.todo('pear run <link> --unsafe-clear-app-storage --checkout staged')
test.todo('pear run <link> --unsafe-clear-preferences --appling <path>')
test.todo('pear run <link> --unsafe-clear-preferences --checkout <n>')
test.todo('pear run <link> --unsafe-clear-preferences --checkout release')
test.todo('pear run <link> --unsafe-clear-preferences --checkout staged')
test.todo('pear run <link> --appling <path> --checkout <n>')
test.todo('pear run <link> --appling <path> --checkout release')
test.todo('pear run <link> --appling <path> --checkout staged')

test.todo('pear run <dir>')

test.todo('pear release <channel> <dir>')
test.todo('pear release --checkout <n> <channel> <dir>')
test.todo('pear release --checkout staged <channel> <dir>')
test.todo('pear release --checkout release <channel> <dir>')
test.todo('pear release --json <channel> <dir>')
test.todo('pear release --checkout <n> --json <channel> <dir>')
test.todo('pear release --checkout staged --json <channel> <dir>')
test.todo('pear release --checkout release --json <channel> <dir>')

test.todo('pear release <link>')
test.todo('pear release --checkout <n> <link>')
test.todo('pear release --checkout staged <link>')
test.todo('pear release --checkout release <link>')
test.todo('pear release --json <link>')
test.todo('pear release --checkout <n> --json <link>')
test.todo('pear release --checkout staged --json <link>')
test.todo('pear release --checkout release --json <link>')

test.todo('pear info')
test.todo('pear info --json <channel> <dir>')
test.todo('pear info <channel> <dir>')
test.todo('pear info --changelog <channel> <dir>')
test.todo('pear info --changelog --json <channel> <dir>')
test.todo('pear info --changelog --metadata <channel> <dir>')
test.todo('pear info --changelog --metadata --json <channel> <dir>')
test.todo('pear info --changelog --key <key> <channel> <dir>')
test.todo('pear info --changelog --key <key> --json <channel> <dir>')
test.todo('pear info --changelog --metadata --key <channel> <dir>')
test.todo('pear info --changelog --metadata --key --json <channel> <dir>')
test.todo('pear info --full-changelog <channel> <dir>')
test.todo('pear info --full-changelog --metadata <channel> <dir>')
test.todo('pear info --full-changelog --metadata --json <channel> <dir>')
test.todo('pear info --full-changelog --metadata --key <channel> <dir>')
test.todo('pear info --full-changelog --metadata --key --json <channel> <dir>')
test.todo('pear info --metadata <channel> <dir>')
test.todo('pear info --metadata --key <channel> <dir>')
test.todo('pear info --metadata --key --json <channel> <dir>')
test.todo('pear info --key <channel> <dir>')
test.todo('pear info --key --json <channel> <dir>')
test.todo('pear info --no-changelog <channel> <dir>')
test.todo('pear info --no-changelog --json <channel> <dir>')
test.todo('pear info --no-metadata <channel> <dir>')
test.todo('pear info --no-metadata --json <channel> <dir>')
test.todo('pear info --no-key <channel> <dir>')
test.todo('pear info --no-key --json <channel> <dir>')
test.todo('pear info --no-changelog --no-metadata <channel> <dir>')
test.todo('pear info --no-changelog --no-metadata --json <channel> <dir>')
test.todo('pear info --no-changelog --no-key <channel> <dir>')
test.todo('pear info --no-changelog --no-key --json <channel> <dir>')
test.todo('pear info --no-key --no-metadata <channel> <dir>')
test.todo('pear info --no-key --no-metadata --json <channel> <dir>')
test.todo('pear info --no-changelog --no-metadata --no-key <channel> <dir>')
test.todo('pear info --no-changelog --no-metadata --no-key --json <channel> <dir>')

test.todo('pear info <link>')
test.todo('pear info --json <link>')
test.todo('pear info --changelog <link>')
test.todo('pear info --changelog --json <link>')
test.todo('pear info --changelog --metadata <link>')
test.todo('pear info --changelog --metadata --json <link>')
test.todo('pear info --changelog --key <link>')
test.todo('pear info --changelog --key --json <link>')
test.todo('pear info --changelog --metadata --key <link>')
test.todo('pear info --changelog --metadata --key --json <link>')
test.todo('pear info --full-changelog <link>')
test.todo('pear info --full-changelog --metadata <link>')
test.todo('pear info --full-changelog --metadata --json <link>')
test.todo('pear info --full-changelog --metadata --key <link>')
test.todo('pear info --full-changelog --metadata --key --json <link>')
test.todo('pear info --metadata <link>')
test.todo('pear info --metadata --key <link>')
test.todo('pear info --metadata --key --json <link>')
test.todo('pear info --key <link>')
test.todo('pear info --key --json <link>')
test.todo('pear info --no-changelog <link>')
test.todo('pear info --no-changelog --json <link>')
test.todo('pear info --no-metadata <link>')
test.todo('pear info --no-metadata --json <link>')
test.todo('pear info --no-key <link>')
test.todo('pear info --no-key --json <link>')
test.todo('pear info --no-changelog --no-metadata <link>')
test.todo('pear info --no-changelog --no-metadata --json <link>')
test.todo('pear info --no-changelog --no-key <link>')
test.todo('pear info --no-changelog --no-key --json <link>')
test.todo('pear info --no-key --no-metadata <link>')
test.todo('pear info --no-key --no-metadata --json <link>')
test.todo('pear info --no-changelog --no-metadata --no-key <link>')
test.todo('pear info --no-changelog --no-metadata --no-key --json <link>')

test.todo('pear dump <link> <dir>')
test.todo('pear dump --checkout <n> <link> <dir>')
test.todo('pear dump --checkout staged <link> <dir>')
test.todo('pear dump --checkout release <link> <dir>')
test.todo('pear dump --json <link> <dir>')

test.todo('pear shift <source> <destination>')
test.todo('pear shift --json <source> <destination>')
test.todo('pear shift --force <source> <destination>')
test.todo('pear shift --force --json <source> <destination>')

test.todo('pear gc releases')
test.todo('pear gc releases --json')
test.todo('pear gc sidecars')
test.todo('pear gc sidecars --json')

test.todo('pear versions')
test.todo('pear versions --json')

0 comments on commit db91309

Please sign in to comment.