Code Monkey home page Code Monkey logo

ufatestplan's Introduction

APPTest 自动化测试平台

通过python 3.6+django 1.8+xadmin 实现的APP UI自动化测试平台

使用说明:

git clone XXX 下载代码,

进入目录,安装

    pip install -r requirements.txt

数据库配置(目前我使用的是sqlite数据库)

    DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
        #'ENGINE':'django.db.backends.mysql',
        #'NAME':'liwanleiapptest',
        #'USER':'root',
        #'PASSWORD':'liwanlei',
        #'HOST':'127.0.0.1',
        #'PORT':'3306'
    }
}

同步数据库操作

    python manage.py makemigrations
    python manage.py migrate

运行下面命令,可以启动我们的服务

python manage.py runserver

使用下面命令去创建我们的超级管理员账户

python manage.py createsuperuser

使用下面地址去访问我们的平台

http://127.0.0.1:8000

使用下面地址去访问我们的管理后台

http://127.0.0.1:8000/xadmin

本系统没有开放注册地址,用户需要在后台添加.

pc端需要 pc_clicent的代码,配置config.py,(备注:pc端没有开源,可以联系作者购买。源码:800一份,可以定制开发,联系qq:952943386

pc端需要配置appium测试环境,测试需要连接测试设备。

启动appium服务,启动测试设备,安装好测试包,就可以run进行测试,测试完成后,测试报告自动上传后台,性能测试自动上传

平台运行,pc端可以和平台进行交互,通过接口,目前平台提供三个接口供pc端进行使用。

目前功能有限,后续继续优化。

运行效果展示:

Alt text

效果图展示:

Alt text Alt text Alt text Alt text Alt text Alt text Alt text

ufatestplan's People

Contributors

liwanlei avatar

Watchers

James Cloos 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.