ngtesting轻量级测试管理工具

JAVA, AngularJS
Aaron Chen · 2018年10月05日 · 286 次阅读 · 0 条评论

Next Generation Testing Tools

AngularJS, SockJS, SpringBoot, MyBatis, MySQL

Demo: http://47.99.102.138:8080

Quick start

Use Docker

  1. Install docker and docker-compose;
  2. Download file from https://raw.githubusercontent.com/aaronchen2k/ngtesting-platform/master/docker-compose.yml ;
  3. In same dir, enter "docker-compose up" to launch.

First time, you may get an error caused by MySQL service not ready for web server connectting, just run Step 3 again to fix.

Once you create and start containers by using "docker-compose up" command, next time you should use "docker-compose start|stop" to avoid to docker-compose re-creating the container after the remote image changed, which will cause data-losing.

  1. Open http://localhost:58080/test.html using Chrome.

Use Java Jar

  1. Create dir "/work/ngtesting-data/" for file upload;
  2. Create a MySQL database named "ngtesting-web";
  3. Add MySQL user "ngtesting" with password "P2ssw0rd";
  4. Run "git clone https://github.com/aaronchen2k/ngtesting-platform.git";
  5. Import "src/main/docker/mysql/schema.sql" to database;
  6. In project dir, enter command "xdoc/ngtesting-web-1.*.jar" to run;

You may change the config params in application.yml file like this: "xdoc/ngtesting-web-1.*.jar --config.mysql.host=10.0.0.10 --config.mysql.port=3306".

  1. Open http://localhost:8080/test.html using Chrome.
评论列表
暂无评论.