Jose Diaz-Gonzalez
63fc11a4b9
fix: properly use $1 as default value
2025-11-20 02:21:20 -05:00
Jose Diaz-Gonzalez
106b2c20f1
feat: add support for git remotes with port specified inline
...
Closes #8093
2025-11-20 02:20:35 -05:00
Jose Diaz-Gonzalez
67962ad527
tests: move helper to client.bats
2025-11-20 02:20:35 -05:00
Jose Diaz-Gonzalez
7a93b11bdd
feat: add tests for remote parsing
2025-11-20 02:20:35 -05:00
Jose Diaz-Gonzalez
e43927a69e
tests: add a test for argument handling
2024-03-13 22:21:05 -04:00
Jose Diaz-Gonzalez
5846301a48
tests: make it possible to specify an alternative base domain for tests
...
When developing Dokku, it is useful to use a real domain to test actual functionality. This is impossible if the domain is hardcoded to dokku.me in testing.
2023-08-05 20:58:26 -04:00
Jose Diaz-Gonzalez
622548057c
tests: add assertions to various bats tests
...
Missing these assertions didn't necessarily break tests but they are more correct and having them should help suss out bugs.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
a4136f4719
fix: correct tests and handle a few edge cases in remote command usage
2023-01-14 19:49:14 -05:00
Jose Diaz-Gonzalez
9d380e5654
fix: correct test naming
2023-01-14 17:53:33 -05:00
Jose Diaz-Gonzalez
0653a2b0bf
feat: add support for customizing the remote in use for all commands sent via the official client
...
Closes #5564
2023-01-14 17:53:33 -05:00
Jose Diaz-Gonzalez
9d332e9b2d
chore: run shfmt against all test files
2022-07-21 14:57:42 -04:00
dy3l
30dac07817
Fix case style
2021-06-24 22:42:02 +01:00
Jose Diaz-Gonzalez
a7465f9d81
tests: use github actions instead of circleci for test running
2021-01-20 14:00:07 -05:00
Jose Diaz-Gonzalez
2e4c886ab2
fix: correct app arg parsing and new test
2020-12-21 13:36:04 -05:00
Jose Diaz-Gonzalez
8240790381
fix: correct argument handling when setting the --app flag
...
When setting the `--app` flag, there was a special case for the config plugin. This plugin used to take the `--no-restart` flag as the first argument - and still did until this change - resulting in an invalid call to the plugin subcommands. What is worse is that this functionality carried over to all other plugins as they were rewritten in golang, and thus the issue spread without us knowing.
The fix is to support GNU flag parsing rules, which Golang does not do by default (Because Of Reasons™). Switching to `github.com/spf13/pflag` fixes this issue, and also allows positional arguments to be placed wherever, even in the middle of flags.
Closes #4255
2020-12-20 22:06:33 -05:00
Jose Diaz-Gonzalez
5fd04001d8
feat: split out test files and execute them manually
...
This breaks the old grouping mechanism, but honestly that was a weird way of doing it.
2020-06-20 13:22:47 -04:00
Michael Hobbs
76ad65b715
don't run app deploy tests and spread out unit tests to 4 containers. closes #1787
2015-12-21 10:18:16 -08:00
Michael Hobbs
99d2601f2f
fix tests
2015-04-21 14:32:30 -07:00
Michael Hobbs
4e472c39e3
uniform unit test labels
2015-04-01 17:44:34 -07:00
Michael Hobbs
482b680e16
[client unit-test] don't run create/destroy twice. actually clean up from create
2015-02-25 19:47:45 -08:00
Michael Hobbs
b10120af12
Merge pull request #955 from progrium/mh-small-style-refactor
...
quick style refactor
2015-02-07 14:40:04 -08:00
Michael Hobbs
a9c1ed0c6d
[ci skip] comment out skipped tests as we pay the cost for setup() and teardown() anyway
2015-02-07 14:37:30 -08:00
Michael Hobbs
959c51eb50
refactor function defs to be posix-like. remove usage of force positional argument in tests. support --force like arguments in client"
2015-02-07 11:35:04 -08:00
Michael Hobbs
6ad65dd9b4
first stab at a common functions library. include argument parsing and a few definitions wired up. closes #932 . closes #945
2015-02-05 11:32:46 -08:00
Michael Hobbs
2ff2ca55c1
drop support for create/delete in favor of standard apps:create and apps:destroy
2015-01-17 16:24:50 -08:00
Michael Hobbs
666f2d7434
add random app generator in bash. support create and delete verbs. tested on bash 4.3.18 and 3.2.53
2015-01-16 18:46:55 -08:00
Michael Hobbs
161111aab5
lintball client. add tests. add help message
2015-01-16 15:19:14 -08:00