1. 首页
  2. 数据库
  3. 其它
  4. rails test pipeline 源码

rails test pipeline 源码

上传者: 2021-04-18 04:18:29上传 ZIP文件 183.63KB 热度 10次
轨道测试管道 rails-test-pipeline提供了一种结构,用于在github上的Rails上使用RSpec和Minitest(默认包含在Rails中)来设置自动化测试。 安装 使用Postgres设置Rails应用 $ rails new my-rails-app --database=postgresql $ cd my-rails-app $ rails db:create $ git add . $ git commit -m "rails new" $ gh repo create $ git push origin master 为单元测试配置RSpec 按照rspec文档添加和安装rspec gem 为系统测试配置Minitest 在Gemfile中安装启动gem group :test do # [...] gem 'launchy' end $
下载地址
用户评论