scope
: the scope for which this fixture is shared, one of “function” (default), “class”, “module”, “session”.params
: an optional list of parameters which will cause multiple invocations of the fixture function and all of the tests using it.autouse
: if True, the fixture func is activated for all tests that can see it. If False (the default) then an explicit reference is needed to activate the fixture.ids
: list of string ids each corresponding to the params so that they are part of the test id. If no ids are provided they will be generated automatically from the params.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ ! -d .git ]]; then | |
echo "This command must be run from the root directory of a git repository." | |
exit 1 | |
fi | |
COMPARE_BRANCH="${1:-development}" | |
echo "Checking files that have changed between current branch and $COMPARE_BRANCH:" |