API 测试框架 Airborne

码农软件 · 软件分类 · 测试工具 · 2019-11-22 23:29:22

软件介绍

Airborne 是一个 RSpec 驱动的 API 测试框架,灵感来自于 frisby.js

示例代码:

require 'airborne'

describe 'sample spec' do
    it 'should validate types' do
        get 'http://example.com/api/v1/simple_get' #json api that returns { "name" : "John Doe" } 
        expect_json_types({name: :string})
    end

    it 'should validate values' do 
        get 'http://example.com/api/v1/simple_get' #json api that returns { "name" : "John Doe" } 
        expect_json({:name => "John Doe"})
    end
end

本文地址:https://www.codercto.com/soft/d/19586.html

The Hard Thing About Hard Things

The Hard Thing About Hard Things

Ben Horowitz / HarperBusiness / 2014-3-4 / USD 29.99

Ben Horowitz, cofounder of Andreessen Horowitz and one of Silicon Valley's most respected and experienced entrepreneurs, offers essential advice on building and running a startup—practical wisdom for ......一起来看看 《The Hard Thing About Hard Things》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

html转js在线工具
html转js在线工具

html转js在线工具