aboutsummaryrefslogtreecommitdiff
path: root/package_git_test.go
AgeCommit message (Collapse)Author
2025-07-06all: replace module github.com/shuLhan/share with pakakeh.goShulhan
2022-01-30go.mod: update all dependenciesShulhan
This changes affect code that use lib/test.Assert().
2019-03-30test: run the test functions directlyShulhan
Previously, we run each unit test in each test file using sub-test by calling it from single exported function as main test. This commit changes it to run directly, which means, we export all unit test functions, and let the "go test" run them in order.
2018-09-13Replace git and common functions with package share/lib/{git,io}Shulhan
2018-06-04[chore] Add copyright informationShulhan
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-29Fetch new package commits before updating versionShulhan
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-19[test] package: add unit test for String, Update, and UpdateMissingDepShulhan
2018-05-17[test] Move test initialization and common test functions to beku_testShulhan
2018-05-17[test] Add unit test for package addDepShulhan
2018-05-17[test] Add unit test for package scan dependenciesShulhan
2018-05-17[test] Add unit test for package ScanShulhan
2018-05-17[test] Add unit test for package Fetch with gitShulhan
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