Giter Site home page Giter Site logo

machinewolf's Introduction

MachineWolf is transferred to the new project MachineDevil . Please goto and view


MachineWolf is a Test Studio for AI 、Deep Learning or Machine Learning framwork、platform.

Quickly Start

  • Execute testsuites in docker container

    1. Pull the images from docker-hub

      docker pull banrieen/machinewolf

    2. Start container

      While, If you could not find the project, just click "Ctrl+K Crtl+O" open the folder /home/MachineWolf

      docker run -d  -p 8088:8080  -p 8090:8090   --name "machinewolf"  -v "${PWD}:/home/MachineWolf"  --env NOTEBOOK_ARGS="--NotebookApp.notebook_dir=/home/MachineWolf"  --shm-size 2048m  --restart always   banrieen/machinewolf:latest
      # Open web IDE VS Code
      # http://<xxx.xxx.xxx.xxx>:8088/tools/vscode/
    3. View and debug testcase

      create-teatcases

  • Runing script at local PC (Not Suggest)

    sudo chmod +x init_dev.sh
    bash ./init_dev.sh
    locust -f ./example/locust/test_http.py --conf ./example/locust/host.conf
  • Running locust scripts by taurus

    bzt example/taurus/quick_test.yml

  • Running jmeter scripts by taurus

    bzt example/jmeter/trace_user_footprint.jmx

  • Running yaml scripts by taurus

    bzt example/taurus/quick_test.yml

  • Runing pytest testsuites, such as non-api, HA, throughput test scripts

    pytest example/pytest/test_ha.py

Example of testreport

locust-http-response

CLI dashboard

taurus-status

Export testreport

  • testreport/result.csv_stats.csv
  • testreport/result.csv_stats_history.csv
  • testreport/result.csv_failures.csv
  • testreport/result.csv_exceptions.csv

Schema of test studio

The test suite is an independent and flexible organization test suite based on the purpose of being inclusive and accommodating extraction. Support a variety of cutting-edge and excellent tools and concepts; currently test schemes (testscheme), data (datas.yaml), scripts (.py, .jmx), and execution plans (host.yml, taurus.yml) are organized flexibly Together. There are still some examples that need to be improved and supplemented.

|-- testhub/
    `-- testscheme
        |-- manufacturing
        |-- annotations
    `-- testsuites
        |-- annotations
            |-- host.conf
            |-- test_cvat_suites.py
            |-- datas.yaml
        |-- dlws
        |-- e2e
        |-- ha
        |-- jobmanager
        |-- qip
    `-- testlib
        |-- fake_users
        |-- postgres_client
        |-- csv_client

Security

In order to avoid information leaks, invalid information floods.

  • All test scripts, explanatory text and configuration files remove all ID, ACCOUNT, HOST information

  • Does not retain any test environment information, and any test data

  • Replace sensitive information with canonical logos:

    • account: <HOSTNAME>:<PASSWORLD>
    • host: <HOST>:<PORT>
    • link: <LINKTYPE>:<LINKADDRESS>
    • cert: <KEYGEN> 或 <TOKEN>
    • email: <[email protected]>

machinewolf's People

Contributors

asdwadr avatar banrieen 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.