aboutsummaryrefslogtreecommitdiff
path: root/testdata
AgeCommit message (Collapse)Author
2025-07-19testdata: update beku_test to tipShulhan
2025-07-06all: replace module github.com/shuLhan/share with pakakeh.goShulhan
2022-02-01all: remove the flag vendorShulhan
Since vendoring is already handled by Go module, we remove this feature to minimize duplication.
2022-01-30all: replace beku_test in testdata with gitsubmoduleShulhan
Previously, the beku_test is bare clone of git repository stored as is. This cause an initial clone of the beku repository itself does not recognize it as git repository, which make the test fail: go test -v -coverprofile=cover.out ./... || rm -f cover.out fatal: '/home/ms/go/src/git.sr.ht/~shulhan/beku/testdata/beku_test.git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 2022/01/30 10:56:19 gitInstall: Clone: exit status 128 FAIL github.com/shuLhan/beku 0.008s This changes make the testdata/beku_test.git as git submodule, to make the test run well.
2019-03-30testdata: fix bare git repository and test filesShulhan
Include all files from "git clone --bare" in testdata/beku_test.git.
2018-09-14Refactoring test to use clone from local directoryShulhan
2018-09-14Add "remote-branch" to test dataShulhan
2018-06-05Remove submodule left over fileShulhan
2018-06-04Add common option "-V, --vendor" to work with vendor directoryShulhan
2018-05-29Fetch new package commits before updating versionShulhan
2018-05-26Change default database file name from "gopath.deps" to "beku.db"Shulhan
2018-05-23[test] Add unit test for some Env methodsShulhan
Not all methods can be tested due to some operation requiring network connection.
2018-05-18[test] package: Add unit test for method loadShulhan
2018-05-17[test] Add unit test for package scan dependenciesShulhan
2018-05-17[test] Add unit test for package ScanShulhan
2018-05-17Change git compare from using browser to using "git log"Shulhan
Also, * add unit test for gitCompareVersion * use defined variable for standard output and error so we can use it on testing