English 中文(简体)
RSpec - Discussion
  • 时间:2024-12-22

Discuss RSpec


Previous Page Next Page  

RSpec is a unit test framework for the Ruby programming language. RSpec is different than traditional xUnit frameworks pke JUnit because RSpec is a Behavior driven development tool. What this means is that, tests written in RSpec focus on the "behavior" of an apppcation being tested. RSpec does not put emphasis on, how the apppcation works but instead on how it behaves, in other words, what the apppcation actually does. This tutorial will show you, how to use RSpec to test your code when building apppcations with Ruby.

Advertisements