Git Product home page Git Product logo

ssautotest's Introduction

Super Simple Autotest for linux Belongs to ssprojects(Super Simple Projects by Lufei)

An restructured version of sstest/ssautotest Better designed.

Purpose of ssautotest than sstest/ssautotest:

  1. With priorities management.
  2. Better management about test clients.
Usage:
ssauto run TESTMODULE|TESTPACKAGE 
           [-H HOST][-h|--help][-d|--directory DIRECTORY]
           [-p|--priority N][-t|--test TEST]

# 1st design:
ssauto list [TESTPACKAGE|TESTMODULE] 
            [-v|--verbose][-h|--help][-d|--directory DIRECTORY]
            [-p|--priority N][-m|--module]

            -m list all modules
            -v list object detailed doc

# 2nd design:
ssauto list : default list test modules and test classes under DIRECTORY
            [DIRECTORY]
            [-h|--help][-m|--module MODULE]
            [-t|--test TEST][-p|--priority N]
            [-v|--verbose]

  -m specify query test module
  -M only list modules
  -t specify query test class, list test class detail
  -p only list test class with specified priority
  -v list details, about module docs or test docs.


ssauto run DIRECTORY
           [-m|--module TESTMODULE]
           [-t|--test TESTCASE]
           [-H HOST]
           [-p|--priority N]
              
ssauto create [-h|--help] TESTMODULE

ssauto help

Examples: ssauto list -d testcases

1st design:

PKG1.MODULE1  : MODULE1DOCS(partly)
  TEST1       : TEST1DOCS(partly)
  TEST2       : TEST2DOCS
  TEST3
PKG2.MODULE2
  TEST4
  TEST5
  TEST6

2nd design:

PKG1.MODULE1 TEST1 TEST2 TEST3
PKG2.MODULE2 TEST4 TEST5 TEST6

Test engine design: Functions needed:

  1. run TESTCLASS
  2. get test status, result
  3. control test: a. if test not finished in specified time, then force stop b. if test setup failed, then stop test and clean up c. if test failed, stop test and clean up
  4. run clean up when test failed.

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.