GithubHelp home page GithubHelp logo

easonzero / commission Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 152 KB

哈工大软件测试大作业3,基于electron、angular构建的material风格的桌面app,图表绘制使用d3.js,测试框架使用macha

JavaScript 74.55% HTML 22.64% CSS 2.80%

commission's Introduction

Commission

哈工大软件测试大作业3,基于electron、angular构建的material风格的桌面app,图表绘制使用d3.js,测试框架使用macha

作业的题目是军火商和供应商的py交易,功能上支持多用户、多月份、非连续输入的py交易,图表目前支持单用户销售量的饼图和多用户销售额小绿点图(类似github那个小绿点)

还有什么好说的!

学弟学妹们快上车,随便拿去用!

##运行

运行需要自行搭建node环境和npm,全局安装好electron。下面展示linux下如何使用:

sudo apt-get install nodejs(node其实不建议这么安装,建议到官网下载)
sudo apt-get install npm
sudo npm install electron -g

如上环境就算都弄好了,现在展示如何运行项目:

electron .

结果1

结果2

结果3

结果0

##测试

测试需要安装测试框架mocha,和断言库should

sudo npm install mocha -g
sudo npm install --only=dev

测试文件在./test,在根目录使用测试命令

mocha

测试结果如下

测试

commission's People

Contributors

easonzero avatar

Watchers

 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.