4 个仓库
Testing toolkits specifically designed to integrate with the Ruby on Rails framework for behavioral specifications.
Distinct from Ruby on Rails Frameworks: Specializes in the intersection of RSpec and Rails, whereas other candidates are either general Rails plugins or general frameworks.
Explore 4 awesome GitHub repositories matching testing & quality assurance · Ruby on Rails Testing Frameworks. Refine with filters or upvote what's useful.
rspec-rails 是一个将 RSpec 与 Ruby on Rails 集成的测试框架,提供行为驱动开发(BDD)工具。它作为一个套件,通过对话式语法定义应用行为,为模型、控制器和视图创建行为规范提供了专门的工具包。 该项目的特色在于自动化测试生成,提供命令行界面为 Rails 组件(如模型、控制器和后台任务)创建样板规范文件。它还通过全面的 Mock 和 Stub 库以及旨在模拟完整请求周期和浏览器交互的 Web 应用集成套件来区分其功能。 该框架涵盖了广泛的集成测试,包括路由映射验证、邮件内容验证和后台任务执行。它提供了多种测试断言,用于验证对象状态、HTTP 响应状态和数据库查询结果,并配有通过 Spy 和 Stub 管理测试替身的工具。 该系统包含一个用于测试执行的命令行可执行文件和一个持久化配置存储,以标准化不同环境下的设置。
Integrates behavioral specifications with the Ruby on Rails framework to verify various application layers.
vim-rails 是一套用于在 Vim 中导航、测试和管理 Ruby on Rails 应用的编辑器增强功能。它提供了一个用于在相关控制器、模型和视图之间跳转的项目导航器、一个用于执行测试的专用测试运行器,以及一个直接从编辑器运行框架生成器和命令的接口。 该插件支持将代码块提取到单独的局部视图或 Concerns 中,并自动用渲染调用替换原始内容。它还包括一个专门的语法高亮器,为框架特定的方法和声明应用颜色编码。 该系统支持上下文感知的项目导航、目标测试执行,以及在全局或应用级别为相关文件和任务定义的自定义映射规则。
Runs specific tests or specs from the editor and manages the database state without leaving the code.
Letter Opener is a development email sandbox and interceptor for Ruby on Rails. It functions as an SMTP mocking tool that captures outgoing emails and saves them to the local file system, preventing messages from being delivered to real addresses during the development cycle. The project provides a local email previewer with a web interface. This allows for the visual verification of email layouts, content, and headers directly in a browser. The tool manages intercepted communications through directory-based artifact management and integrates directly into the application mailing pipeline to
Allows developers to inspect email content and headers locally within a browser.
Clearance is a Ruby on Rails authentication framework designed to manage user accounts, encrypted password storage, and session-based identity verification. It serves as an email and password authenticator that validates user identities and controls access to protected application features. The framework utilizes a request-processing middleware to expose user identity to the application environment and employs a chain of guards to enforce customizable sign-in requirements. It includes a secure password recovery system that uses email-based reset tokens to allow users to update credentials. T
Provides integration helpers for Ruby on Rails test suites to bypass manual authentication flows.