aboutsummaryrefslogtreecommitdiff
path: root/beku_test.go
AgeCommit message (Collapse)Author
2025-07-06all: replace module github.com/shuLhan/share with pakakeh.goShulhan
2023-03-07go.mod: set minimum go version to 1.18 and update all dependenciesShulhan
This changes remove the "-cache" and "-testcache" options when running GoClean due to both of this options case an exit status 1 on Go 1.18.
2022-02-01all: remove the flag vendorShulhan
Since vendoring is already handled by Go module, we remove this feature to minimize duplication.
2019-03-30all: suppress linter warnings on global variables and long linesShulhan
This including the copy of subpackage.
2018-12-14all: skip linter error on global variablesShulhan
Some global variables, like defStdout and defStdout, are required for testing.
2018-12-13Update dependencies and fix testsShulhan
2018-09-14Remove unused variablesShulhan
2018-09-14package: simplify parameter of NewPackageShulhan
2018-09-14Refactoring test to use clone from local directoryShulhan
2018-09-13Replace git and common functions with package share/lib/{git,io}Shulhan
2018-06-05Add option to disable installing dependenciesShulhan
2018-06-04[chore] Add copyright informationShulhan
2018-06-04Add common option "-V, --vendor" to work with vendor directoryShulhan
2018-06-04NewPackage(): remove parameter vcs modeShulhan
The mode of VCS is already provided by "RepoRoot.VCS.Cmd". This changes affect on vcs mode value, from number based to string based. Previously, VCS mode git is labeled as "1", now it's labeled as VCS command "git".
2018-06-03NewPackage(): use golang tools/go/vcs to get remote URLShulhan
This will allow beku to handle custom import URL.
2018-06-03Remove git submodule for testingShulhan
Using submodule is not a good way to represent real repository, because submodule use .git as file as metadata not .git as directory. This revert commit e8593ded.
2018-05-29Add operation to exclude package from databaseShulhan
2018-05-27[test] Always set the git test repo to latest versionShulhan
2018-05-27[test] package: check for nil before comparing with expected valueShulhan
2018-05-24Replace "log" with "fmt"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-21[chore] make syntax of variable name consistentShulhan
2018-05-21[test] package: add unit test for Remove, Install, and GoCleanShulhan
2018-05-17[test] Move test initialization and common test functions to beku_testShulhan