基于 RSpec 的 API 测试框架
RSpec 驱动的 API 测试框架
:int 或 :integer:float:bool 或 :boolean:string:date:object:null:array:array_of_integers 或 :array_of_ints:array_of_floats:array_of_strings:array_of_booleans 或 :array_of_bools:array_of_objects:array_of_arrays如果属性是可选的,且可能不出现在响应中,则可以在上述类型后添加 _or_null。
describe 'sample spec' do
它 '应该验证类型' do
获取 'http://example.com/a'暂无开放 Issues,或尚未同步最近议题。