|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/rubyonrails-bdd-rspec-capybara/
课程评论:没有评论
Coursera 课程总结:使用 RSpec 3 和 Capybara 进行 Ruby on Rails 的 BDD 开发 本课程名为“使用 RSpec 3 和 Capybara 进行 Ruby on Rails 的 BDD 开发”,旨在为 Ruby on Rails Web 应用开发提供一种全新的视角。 **核心内容与优势:** * **行为驱动开发 (BDD):** 课程重点介绍 BDD 的理念和实践。BDD 的核心优势在于其“功能规格”(Feature Specs)可以用通俗易懂的英语表述,极大地促进了终端用户与开发者之间的沟通。甚至终端用户也能轻松编写这些功能规格。 * **RSpec 和 Capybara:** 课程将深入讲解如何使用 RSpec 进行单元测试和集成测试,以及如何运用 Capybara 模拟浏览器用户行为,从而实现端到端的业务流程自动化测试。这对于任何希望提升 Rails 开发技能的开发者来说都是一项必备的技能,也是 Rails 社区普遍采用的技术。 * **实践项目:** 课程将通过构建两个复杂的、功能完善的 Web 应用来巩固学习成果,其中包括一个特色健身追踪 Web 应用。所有应用的功能开发都将以自动化测试规格为基础,而非仅局限于部分功能。 * **面向学员:** 适合已有 Ruby on Rails 或 Web 应用开发基础,希望进一步提升技能,但对 BDD 或自动化测试经验有限的学员。对于已学习或正在学习“专业 Ruby on Rails 开发者”课程的学员,本课程将提供宝贵的补充和深化。 **关键学习点:** * BDD 方法论在 Web 开发中的应用。 * RSpec 的深入使用,包括各种测试类型。 * Capybara 模拟用户行为,实现全流程自动化。 * 通过搭建两个完整的 Web 应用来实践所学知识。 * Rails 4.2 框架的应用,以及在云端 IDE 中的开发环境。 * 集成外部 JavaScript 库,如用于图表和日期选择器的库。 * 数据库迁移、一对多和多对多关联的实现。 **先修要求:** 学员需要具备 Ruby on Rails 的基础知识,例如命名约定、`.each` 方法等。课程将侧重于 BDD 流程和 RSpec/Capybara 的使用,而不会详细解释 Rails 的基本语法。 **课程规模:** 本课程包含 99 节讲座,内容详实,覆盖广泛。 **总结:** 本课程是提升 Ruby on Rails 开发能力、掌握自动化测试和 BDD 实践的绝佳选择,能够显著增强个人在 Rails 开发领域的竞争力。
Behavior Driven Development (BDD) with Ruby on Rails using RSpec and Capybara provides a thorough introduction to using BDD to building web applications using the popular Ruby on Rails framework. Why BDD to build web applications? The advantages are numerous, and Feature specs used extensively in BDD read like plain English which allows end users and developers to easily communicate with each other using BDD tools. In addition, it is easy for the end users to write the features themselves. This course is designed for students who have some Ruby on Rails or web application development experience who want to take their skills to the next level but have no or limited experience in BDD or automated testing. Why should students currently enrolled in the Professional Ruby on Rails Developer or already with some Rails experience take this course? - Behavior Driven Development is the focus of this course! - RSpec and Capybara experience for automated testing is necessary as a rails developer, covered thoroughly in this course! - Emulating browser based user behavior to complete a business process from beginning to end, covered thoroughly in this course! - Big resume booster, knowledge and usage of RSpec and automated testing is very important, most of the Rails community uses this! - Complete coverage in terms of features, ALL features are built on basis of automated testing specs, not just selective features - Building two complex and functional web apps including the featured workout web app in 1 course! Tip: Most rails syntax (not complex) will not be explained, therefore students are expected to know basics like naming conventions and.each method etc. However, all features and BDD steps will be explained. Some other key aspects of this course are: - 99 lectures! - Rails 4.2 using cloud-based IDE - Working with external javascript libraries for charts and date pickers - Migrations, one-to-many and many-to-many associations - much, much more!