Comments (2)
@Flamefire are you aware of (the minor updates at) https://github.com/jasonkarns/bats-support ?
Agreed. on the state of the README.md
files in bats-support and bats-assert-1 is disappointing. At least bats-mock tried to update (it needs a [bats-core]
anchor to assign that link to)
Here's my git subtree
(not submodule
) installation script:
Add Bash Automated Testing System (2018)
git subtree add ---prefix ${testlib}/repo ${GH}/user/repo master --squash`
- add bats-core (bats-core)
- add bats-assert (jasonkarns)
- add bats-support (jasonkarns)
- add bats-file (ztombol)
- add bats-mock (lox)
- add grayhemp-mock (grayhemp)
install-bats-subtree.sh
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
# "unofficial" bash strict mode
# See: http://redsymbol.net/articles/unofficial-bash-strict-mode
set -o errexit # Exit when simple command fails 'set -e'
set -o errtrace # Exit on error inside any functions or subshells.
set -o nounset # Trigger error when expanding unset variables 'set -u'
set -o pipefail # Do not hide errors within pipes 'set -o pipefail'
IFS=$'\n\t'
declare repodir=${1:? "Need a repo directory to hang \$testlib"}
declare testlib="tests/lib"
mkdir -p "${repodir}/${testlib}"
{
pushd "${repodir}" >/dev/null || false
git subtree add --prefix "${testlib}"/bats-core https://github.com/bats-core/bats-core master --squash
git commit -am 'Add bats-core library'
git subtree add --prefix "${testlib}"/bats-assert https://github.com/jasonkarns/bats-assert-1 master --squash
git subtree add --prefix "${testlib}"/bats-support https://github.com/jasonkarns/bats-support master --squash
git commit -am 'Add jasonkarns bats-assert and bats-support (forked) libraries'
git subtree add --prefix "${testlib}"/bats-file https://github.com/ztombol/bats-file master --squash
git commit -am 'Add bats-file module'
git subtree add --prefix "${testlib}"/bats-mock https://github.com/lox/bats-mock master --squash
git commit -am 'Add lox fork of bats-mock module'
git subtree add --prefix "${testlib}"/grayhemp-mock https://github.com/grayhemp/bats-mock master --squash
git commit -am 'Add grayhemp bats-mock module'
popd >/dev/null || false
} || false
from bats-support.
Yes just found it. Havn't seen any real changes there (only to the npm json file). Not sure which is better to use so I opened those issues against the base repo
from bats-support.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bats-support.