Giter Club home page Giter Club logo

autotest's Introduction

Instruction:

Design Rules:

1. Docker[AutoTest Service Docker] run Docker[Test Framework Docker]  <br>
2. 自动化测试框架 集成 docker + 【pytest + allure】,另外支持【unittest + htmlrunner】等其他docker运行  <br>
3. 测试脚本等输出Docker并与项目关联  <br>
4. 提供API外部触发测试,指定项目id  <br>
/*![流程图片](flow.png) */

运行:

Docker启动方式:

1. docker network create autotest 
2. 启动pg docker:
    docker run --net=autotest --name postgres_autotest --publish 5433:5432 -e POSTGRES_PASSWORD=88st2023 -e POSTGRES_DB=autotest -e PGDATA=/var/lib/postgresql/data/pgdata -e ALLOW_IP_RANGE=0.0.0.0/0 -v /data/pg_autotest:/var/lib/postgresql/data -d postgres[imageId]
3. 启动服务docker: 
    docker run -d --net=autotest -e MODE=prod -e PGHOST=0.0.0.0 -e PGUSER=postgres -e PGPASSWORD=88st2023 -e PGPORT=15432 -e PORT=5100 -e SERTYPE=1 --name=autotestserver --publish 0.0.0.0:5100:5100 /var/run/docker.sock:/var/run/docker.sock -v /data/report:/autotest/report registry.xxx.com:v1 

使用docker-compose启动

1. docker-compose up -d

autotest's People

Contributors

zhenjiazheng avatar

Stargazers

 avatar  avatar Jinglever avatar  avatar  avatar 程序员欣宸 avatar  avatar

Watchers

 avatar

Forkers

qiqiyangyang

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.