Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
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
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
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
/
Sign in
Sign up
Appearance settings
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 }}
devlooped
/
moq
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
834
Star
6.4k
Code
Issues
6
Pull requests
6
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Add typed setups for IMock<T>
- #1727
#1727
Merged
kzu
merged 11 commits into
main
devlooped/moq:main
from
typed-setups
devlooped/moq:typed-setups
Copy head branch name to clipboard
Sep 29, 2026
Conversation
Commits
11
(11)
Checks
Files changed
Merged
Add typed setups for IMock<T>
#1727
kzu
merged 11 commits into
main
devlooped/moq:main
from
typed-setups
devlooped/moq:typed-setups
Copy head branch name to clipboard
Commits
Commits on Sep 28, 2026
Add incremental IMock<T> setup generator and Mock.Of2 prototype
kzu
committed
17e4a3a
View commit details
Copy full SHA for 17e4a3a
Browse repository at this point
Rename Sdk mock introspection to IMockRuntime, make Moq.IMock the typed mock
Show description for d6495e3
kzu
committed
d6495e3
View commit details
Copy full SHA for d6495e3
Browse repository at this point
Add typed setups with Returns/Callback/Throws/occurrence verbs, static Setup/SetupRef and IMock-based Verify
Show description for 5a51802
kzu
committed
5a51802
View commit details
Copy full SHA for 5a51802
Browse repository at this point
Generate typed IMock<T> setups with C# 14 extension members
Show description for 5f5c9f3
kzu
committed
5f5c9f3
View commit details
Copy full SHA for 5f5c9f3
Browse repository at this point
Commits on Sep 29, 2026
Ship Mock<T> and Mock<T, T1..T8> as customizable source
Show description for 80f17f0
kzu
committed
80f17f0
View commit details
Copy full SHA for 80f17f0
Browse repository at this point
Remove legacy Mock<T> and Of2, migrate tests to typed setups
Show description for e985691
kzu
committed
e985691
View commit details
Copy full SHA for e985691
Browse repository at this point
Retarget analyzers and code fixes to typed setups
Show description for 6e0c802
kzu
committed
6e0c802
View commit details
Copy full SHA for 6e0c802
Browse repository at this point
Rewrite acceptance tests for typed setups and run them in CI against the packed Moq
Show description for ec862de
kzu
committed
ec862de
View commit details
Copy full SHA for ec862de
Browse repository at this point
Fix miscelaneous build warnings
kzu
committed
c5765fe
View commit details
Copy full SHA for c5765fe
Browse repository at this point
Collapse setup capture into Capture so Returns and Callback share one handler path.
kzu
committed
a259f7f
View commit details
Copy full SHA for a259f7f
Browse repository at this point
Use a forward-slash local feed so Linux acceptance restore keeps the source name.
kzu
committed
45a251f
View commit details
Copy full SHA for 45a251f
Browse repository at this point
You can’t perform that action at this time.