首页 开发技术 其它     /    Shoulda:使手指和眼睛的测试变得容易-源码

Shoulda:使手指和眼睛的测试变得容易-源码

上传者: weixin_42131443 | 上传时间:2024/8/11 3:37:54 | 文件大小:35KB | 文件类型:ZIP
Shoulda:使手指和眼睛的测试变得容易-源码
aShoulda可帮助您在Minitest和Test::Unit下编写更易于理解,可维护的特定于Rails的测试。
快速链接:loudspeaker:概述作为伞形宝石,shoulda宝石不包含任何自己的代码,而是带来了另外两个宝石的行为:例如:require"test_helper"classUserTest<ActiveSupport::TestCasecontext"associations"doshouldhave_many(:posts)endcontext"validations"doshouldvalidate_presence_of(:email)shouldallow_value("user@example.com").for(:email)should_n 本软件ID:15387004

文件下载

资源详情

[{"title":"(42个子文件35KB)Shoulda:使手指和眼睛的测试变得容易-源码","children":[{"title":"shoulda-master","children":[{"title":"MAINTAINING.md <span style='color:#111;'>3.56KB</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>108B</span>","children":null,"spread":false},{"title":"gemfiles","children":[{"title":"rails_5_1.gemfile.lock <span style='color:#111;'>5.78KB</span>","children":null,"spread":false},{"title":"rails_4_2.gemfile.lock <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"rails_6_0.gemfile.lock <span style='color:#111;'>6.89KB</span>","children":null,"spread":false},{"title":"rails_6_0.gemfile <span style='color:#111;'>916B</span>","children":null,"spread":false},{"title":"rails_5_1.gemfile <span style='color:#111;'>796B</span>","children":null,"spread":false},{"title":"rails_5_2.gemfile.lock <span style='color:#111;'>6.30KB</span>","children":null,"spread":false},{"title":"rails_5_2.gemfile <span style='color:#111;'>867B</span>","children":null,"spread":false},{"title":"rails_5_0.gemfile.lock <span style='color:#111;'>5.48KB</span>","children":null,"spread":false},{"title":"rails_5_0.gemfile <span style='color:#111;'>755B</span>","children":null,"spread":false},{"title":"rails_4_2.gemfile <span style='color:#111;'>803B</span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'>869B</span>","children":null,"spread":false},{"title":".autotest <span style='color:#111;'>335B</span>","children":null,"spread":false},{"title":".rubocop.yml <span style='color:#111;'>3.93KB</span>","children":null,"spread":false},{"title":".ruby-version <span style='color:#111;'>6B</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'>428B</span>","children":null,"spread":false},{"title":".hound.yml <span style='color:#111;'>50B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>2.90KB</span>","children":null,"spread":false},{"title":"shoulda.gemspec <span style='color:#111;'>886B</span>","children":null,"spread":false},{"title":"script","children":[{"title":"update_gem_in_all_appraisals <span style='color:#111;'>368B</span>","children":null,"spread":false},{"title":"install_gems_in_all_appraisals <span style='color:#111;'>347B</span>","children":null,"spread":false},{"title":"run_all_tests <span style='color:#111;'>316B</span>","children":null,"spread":false},{"title":"supported_ruby_versions <span style='color:#111;'>199B</span>","children":null,"spread":false},{"title":"update_gems_in_all_appraisals <span style='color:#111;'>372B</span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"shoulda.rb <span style='color:#111;'>79B</span>","children":null,"spread":false},{"title":"shoulda","children":[{"title":"version.rb <span style='color:#111;'>46B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Appraisals <span style='color:#111;'>3.02KB</span>","children":null,"spread":false},{"title":"Gemfile <span style='color:#111;'>346B</span>","children":null,"spread":false},{"title":"Rakefile <span style='color:#111;'>768B</span>","children":null,"spread":false},{"title":"test","children":[{"title":"acceptance","children":[{"title":"integrates_with_rails_test.rb <span style='color:#111;'>17.44KB</span>","children":null,"spread":false}],"spread":false},{"title":"support","children":[{"title":"acceptance","children":[{"title":"helpers","children":[{"title":"pluralization_helpers.rb <span style='color:#111;'>302B</span>","children":null,"spread":false},{"title":"array_helpers.rb <span style='color:#111;'>267B</span>","children":null,"spread":false}],"spread":false},{"title":"matchers","children":[{"title":"have_output.rb <span style='color:#111;'>738B</span>","children":null,"spread":false},{"title":"indicate_that_tests_were_run.rb <span style='color:#111;'>2.59KB</span>","children":null,"spread":false}],"spread":false},{"title":"add_shoulda_to_project.rb <span style='color:#111;'>1.43KB</span>","children":null,"spread":false},{"title":"rails_application_with_shoulda.rb <span style='color:#111;'>1.35KB</span>","children":null,"spread":false}],"spread":false},{"title":"current_bundle.rb <span style='color:#111;'>1.06KB</span>","children":null,"spread":false},{"title":"snowglobe.rb <span style='color:#111;'>91B</span>","children":null,"spread":false}],"spread":false},{"title":"acceptance_test_helper.rb <span style='color:#111;'>1.09KB</span>","children":null,"spread":false},{"title":"test_helper.rb <span style='color:#111;'>494B</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明