1 个仓库
Techniques for hooking into a language runtime to override object behavior without modifying source code.
Distinct from Message Interception: Distinct from networking message interception; specifically targets the Objective-C messaging system for behavioral overrides
Explore 1 awesome GitHub repository matching software engineering & architecture · Runtime Message Interception. Refine with filters or upvote what's useful.
Kiwi 是一个用于 iOS 的行为驱动开发 (BDD) 框架和规范库。它作为 XCTest 的包装器,允许开发人员将软件需求定义并执行为自动化测试,以验证应用程序逻辑。 该框架利用领域特定语言 (DSL) 将测试用例组织成嵌套的描述层级。它包括一个模拟系统,该系统采用运行时消息拦截和动态代理来记录调用并返回存根值。 该系统提供了一个流畅的断言接口来评估对象状态,并使用基于块的引擎来执行规范。这些功能使得创建可读的规范成为可能,从而验证 iOS 应用程序行为是否符合项目需求。
Hooks into the Objective-C messaging system to override object behavior for mocking and stubbing.