mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-12 18:59:03 -06:00
* dolt/go/cmd/git-dolt/config/config.go: Add package comment
* dolt/go/cmd/git-dolt: Factor CloneToRevision function out of Fetch command
* dolt/go/cmd/git-dolt: Factor AppendToFile out of Link command
* dolt/go/cmd/git-dolt: Add install command
* dolt/go/cmd/git-dolt-smudge: Create git-dolt-smudge command to use as a git smudge filter
* dolt/go/cmd/git-dolt/git-dolt.go: Cleanup
* dolt/bats/git-dolt.bats: Add bats test for git dolt install
* Jenkinsfile: Add git-dolt-smudge to dolt/bats stage
* dolt/bats/git-dolt.bats: Add test for git-dolt smudge filter
* dolt/bats/git-dolt.bats: Configure fake name and email in test git repos so that committing works on Jenkins
* dolt/{bats,go}: Improve git-dolt cloning behavior (especially streaming output from dolt clone); refactor
* dolt/{bats,go}: Small tweaks to git-dolt output
BATS - Bash Automated Testing System
We are going to use bats to test the dolt command line.
First you need to install bats.
npm install -g bats
Then, go to the directory with the bats tests and run:
bats .
This will run all the tests. Specify a particular .bats file to run only those tests.
Test coverage needed for:
- large tables
- dolt login