无界面浏览器测试环境 Benv

码农软件 · 软件分类 · 浏览器/JS引擎 · 2019-04-05 11:13:27

软件介绍

Benv是node.js开发的无界面浏览器测试环境,用于测试客户端代码。

示例代码:

var benv = require('benv');beforeEach(function(done) {  benv.setup(function() {    benv.expose({
      $: benv.require('../client/vendor/zepto.js', 'Zepto')
    });    done();
  });
});afterEach(function() {  benv.teardown();
});describe('app.js', function() {  it('renders Wat', function() {    require('../client/app.js');    $('body').html().should.include('Wat!?');
  });
});

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

Getting Started with C++ Audio Programming for Game Development

Getting Started with C++ Audio Programming for Game Development

David Gouveia

Written specifically to help C++ developers add audio to their games from scratch, this book gives a clear introduction to the concepts and practical application of audio programming using the FMOD li......一起来看看 《Getting Started with C++ Audio Programming for Game Development》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

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

在线 XML 格式化压缩工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具