Coder Social home page Coder Social logo

edertone / turbotesting Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 488 KB

General purpose cross-language library to improve automated testing productivity

Home Page: https://turboframework.org/en/libs/turbotesting

License: Apache License 2.0

TypeScript 56.19% JavaScript 37.67% HTML 1.70% PHP 4.44%
selenium testing testing-tools test-automation php nodejs assertions

turbotesting's Introduction

General purpose cross-language library to improve automated testing productivity

This library tries to help developers to write automated tests for their projects, focusing on speed and productivity. The most common testing procedures are coded into classes that are easy to use and understand, grouped by functional areas.

It is a library that uses the same methods and classes across all the implemented languages, so we can work the same way when switching between different projects or technologies.

Documentation

A detailed code specification is available online. You can check it here

How to use it

  • Php:
Currently available only as a .phar file (download it from https://turboframework.org)
require '..../turbotesting-php-X.X.X.phar';
use org\turbotesting\src\main\php\utils\AssertUtils;
$n = AssertUtils::throwsException(function() { someMethodThatFails(); }, '/assert exception message/');
  • Typescript:
npm install turbotesting-ts
import { AssertUtils } from 'turbotesting-ts';
let n = AssertUtils.throwsException(function() {throw new Error('exception is thrown');}, 'assert exception message');
  • NodeJS projects:
npm install turbotesting-ts
const {AssertUtils} = require('turbotesting-ts');
var n = AssertUtils.throwsException(function() {throw new Error('exception is thrown');}, 'assert exception message');

Language support

  • Php (7 or more recommended)
  • Typescript
  • NodeJS

We want to increase this list. So! if you want to translate the library to your language of choice, please contact us! We need your help to port this library to as many languages as possible, and more important, we need to code the SAME unit tests across all the implemented languages. This is the only way to guarantee that the library delivers exactly the same behavior everywhere.

Dependencies

This library requires the latest turbocommons and turbodepot library versions

Contribute

Turbo Testing is 100% free and open source, but we will be really pleased to receive any help, support, comments or donations to help us improve this library. If you like it, spread the word!

Donate

Donate

turbotesting's People

Contributors

edertone avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.