Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
buildkite-plugins
/
bats-mock
Public
forked from
jasonkarns/bats-mock
Notifications
You must be signed in to change notification settings
Fork
10
Star
23
Code
Issues
7
Pull requests
0
Actions
Projects
0
Wiki
Security
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit History
Commits on Nov 25, 2025
Merge pull request #28 from jgrigg/concurrent_stubs
Show description for 65ff193
pzeballos
authored
65ff193
Copy full SHA for 65ff193
Merge pull request #27 from jakub-bochenski/patch-1
Show description for 1833eed
pzeballos
authored
1833eed
Copy full SHA for 1833eed
Merge pull request #29 from buildkite-plugins/toote_shellcheck_fix
Show description for 044fe31
pzeballos
authored
044fe31
Copy full SHA for 044fe31
Change shellcheck test to ignore as unreachable functions now have their own code
toote
committed
28f245f
Copy full SHA for 28f245f
Commits on Nov 24, 2025
fix test when running in ci/docker
jgrigg
committed
7bc90c0
Copy full SHA for 7bc90c0
isolate stubs to each individual test
jgrigg
committed
5cb9d2f
Copy full SHA for 5cb9d2f
Commits on Jun 18, 2025
fix: Make it run with set -u
jakub-bochenski
authored
e8c7cc0
Copy full SHA for e8c7cc0
Commits on Mar 12, 2024
Merge pull request #23 from buildkite-plugins/SUP-690
Show description for 5b954df
pzeballos
authored
5b954df
Copy full SHA for 5b954df
Commits on Mar 6, 2024
Add Code of Conduct
tomowatt
committed
00e3392
Copy full SHA for 00e3392
Commits on Feb 13, 2024
Merge pull request #19 from KlfJoat/tmpdir-update
Show description for 4554c14
pzeballos
authored
4554c14
Copy full SHA for 4554c14
Commits on Jan 3, 2024
fix: use $BATS_RUN_TMPDIR for $BATS_MOCK_TMPDIR
Show description for 066295f
KlfJoat
committed
066295f
Copy full SHA for 066295f
Commits on Mar 28, 2023
Add renovate.json (closes #13)
toote
committed
058e595
Copy full SHA for 058e595
Ignore shellcheck error due to function inside a function
toote
committed
76cd90d
Copy full SHA for 76cd90d
Commits on Jan 10, 2023
Merge pull request #12 from buildkite-plugins/toote_ci
Show description for 79a8a14
pzeballos
authored
79a8a14
Copy full SHA for 79a8a14
Added first pipeline
toote
committed
580ebf9
Copy full SHA for 580ebf9
Corrected function tests (bats returns 1 the way it is now)
toote
committed
aedb080
Copy full SHA for aedb080
Corrected shellcheck error in binstub
toote
committed
f309acc
Copy full SHA for f309acc
Commits on Jan 4, 2023
Added test for calling with additional args
toote
committed
22caaff
Copy full SHA for 22caaff
Commits on Dec 30, 2022
Merge pull request #11 from buildkite-plugins/flamefire_improvements
Show description for f952747
pzeballos
authored
f952747
Copy full SHA for f952747
Make better handling of stubs that wouldn't make valid variable names
toote
committed
08f2155
Copy full SHA for 08f2155
Updated commented out code to use debug function
toote
committed
c659547
Copy full SHA for c659547
Test that rm is actually a function
toote
committed
ccaa808
Copy full SHA for ccaa808
Commits on Dec 29, 2022
Cleanup of tests and not use incremental stubbing everywhere
toote
committed
dac66ef
Copy full SHA for dac66ef
Corrected shellcheck warnings in stub.bash
toote
committed
b79a595
Copy full SHA for b79a595
Reverted how * is handled for better backwards compatibility (but removed partial matching)
toote
committed
5db6c3e
Copy full SHA for 5db6c3e
Corrected indentation and shellcheck warnings
toote
committed
3a80b7b
Copy full SHA for 3a80b7b
Merge remote-tracking branch 'Flamefire/fixes' into flamefire_improvements
toote
committed
3dfc737
Copy full SHA for 3dfc737
Commits on Oct 6, 2022
Merge pull request #10 from buildkite-plugins/toote_docs_issue_51
Show description for 39d98e4
pzeballos
authored
39d98e4
Copy full SHA for 39d98e4
Added missing unstubs and corrected spacings
toote
committed
161670e
Copy full SHA for 161670e
Documentation correction & clarifications
toote
committed
251a158
Copy full SHA for 251a158
Commits on Sep 17, 2022
Merge pull request #8 from buildkite-plugins/toote_failure_commands_bug
Show description for 1300512
pzeballos
authored
1300512
Copy full SHA for 1300512
Correct huge bug with exit status of mocked commands
toote
authored
c6749d6
Copy full SHA for c6749d6
Commits on Jun 20, 2019
Accept any arguments if no ' : ' is passed or plan starts with '::'
Flamefire
committed
0decdc2
Copy full SHA for 0decdc2
Remove redundant redirect
Flamefire
committed
c5e1f75
Copy full SHA for c5e1f75
Allow mocking of rm and others
Flamefire
committed
2b744d5
Copy full SHA for 2b744d5
Pagination
Previous
Next
You can’t perform that action at this time.