Integration test suite first steps... #347
Reference in New Issue
Block a user
No description provided.
Delete Branch "integration-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As planned with @3wordchant, optimise for local developer workflow first and patch
abrato support a~/.abra_testdirectory. This can be configured withABRA_TEST=.... Maybe you had a thought on the naming of this var @3wordchant? This is working well so far and I even caught a bug already, which makes me feel like it's the way to go. With a dedicated test server setup later on, I think we could get a solid test coverage forabrawith this. Lemme know what you think folks! Kept the diff small so it's easy to review / grok before moving ahead.@ -0,0 +10,4 @@_build_kadabra() {if [[ ! -e "$ROOT/kadabra" ]]; thencd "$ROOT" && make build-devOops, that's wrong, Need a dedicated
kadabramakefile target. TODO 🤓@ -17,1 +17,3 @@var ABRA_DIR = os.ExpandEnv("$HOME/.abra")// getBaseDir retrieves the Abra base directory.func getBaseDir() string {home := os.ExpandEnv("$HOME/.abra")What about making the env var
ABRA_DIR, and defaulting to$HOME/.abra? then for testsABRA_DIR=$HOME/.abra_test, and folks could also choose to put the directory elsewhere for homedir-neatness reasons, or in the case of an immutable home dir.