RSpec中的'it'和'example'有什么区别?

What is the difference between 'it' and 'example' in RSpec?

在我看来,它们的用途非常相似,我经常喜欢用它们进行三角测量,但担心这样做可能会产生一些我遗漏的副作用。

itexamplespecifysynonyms。他们都做同样的事情。他们三个的存在是为了让测试读起来像英文。