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://codercto.com/soft/d/19586.html

Real-Time Rendering, Third Edition

Real-Time Rendering, Third Edition

Tomas Akenine-Moller、Eric Haines、Naty Hoffman / A K Peters/CRC Press / 2008-7-25 / USD 102.95

Thoroughly revised, this third edition focuses on modern techniques used to generate synthetic three-dimensional images in a fraction of a second. With the advent or programmable shaders, a wide varie......一起来看看 《Real-Time Rendering, Third Edition》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具