# Testing This Project
This is a guide for running tests on angular code in this project. While there may be a reasonable amount of
duplication present in this text, it will act to the benefit of subsequent developers to have this knowledge localised
and customised for this specific project.
## Requirements For Testing
Due to the lack of a magical maven plugin that does all this for us, there are some things that need to exist in and
around this project before testing can begin.
### NodeJS
This allows the javascript tests to be executed in an environment that isn't tied to a browser. Since there are
radically differing ways of getting this installed, consult the specific environment documentation below.
#### Windows
Just follow these few, easy steps:
1. Navigate to [Nodejs.org](http://nodejs.org).
2. Press install, and download the msi.
3. Run the msi installer.
4. Profit
#### Linux
TODO: Describe how to install NodeJS on Linux
### Karma
Formerly known as Testacular, this javascript testing framework is required for running e2e tests, and can be acquired
by a simple and concise application of the following command:
npm install -g karma
This will make sure that all NodeJS applications on your machine have access to this framework. The Maven runner should
take care of actually running it.
## How To Run These Tests
TODO: Summary/External References
### Unit tests
TODO: Explain how to run unit tests
### End-to-end (e2e) tests
TODO: Explain how to run e2e tests
没有合适的资源?快使用搜索试试~ 我知道了~
camunda-xml-model-7.1.0-alpha4.zip
共69个文件
js:37个
sh:11个
html:5个
需积分: 10 0 下载量 144 浏览量
2019-10-13
02:33:09
上传
评论
收藏 4.01MB ZIP 举报
温馨提示
javascript-angular.zip,作为新应用程序基础的通用角度服务和指令通用角度服务和作为新应用程序基础的指令
资源详情
资源评论
资源推荐
收起资源包目录
javascript-angular.zip (69个子文件)
javascript-angular-master
.gitignore 17B
pom.xml 1KB
src
test
angular
start-testing.sh 269B
bin
scripts
test-server.sh 428B
e2e-test.bat 297B
private
format-json.sh 243B
snapshot-web.sh 298B
goto_step.bat 362B
retag.sh 333B
ScrapeData.js 5KB
goto_step.sh 243B
push-to-github.sh 115B
snapshot.sh 965B
web-server.js 6KB
test.sh 254B
update-repo.sh 291B
test-server.bat 548B
e2e-test.sh 258B
watchr.rb 503B
test.bat 305B
config
jsTestDriver.conf 152B
testacular.conf.js 555B
testacular-e2e.conf.js 914B
unit
services
http
testApiRequest.js 2KB
testUtils.js 547B
testBreadcrumbs.js 3KB
filters
testNl2br.js 281B
directives
testTabs.js 1KB
testSearchResults.js 4KB
readme.md 2KB
lib
jstestdriver
JsTestDriver.jar 4.12MB
angular
quicksetup.js 715B
angular-scenario.js 778KB
angular-mocks.js 54KB
main
resources
META-INF
jawr.properties 154B
resources
scss
uoa
mixinUtils.scss 470B
wikiPanel.scss 4KB
angular
uoa
services
formUtils.js 4KB
textUtils.js 2KB
pageState.js 8KB
http
apiRequest.js 8KB
breadcrumbs.js 4KB
markdownService.js 975B
windowHelper.js 351B
utils.js 12KB
views
wikiPanel.html 2KB
pagination.html 768B
tabs.html 399B
breadcrumb.html 283B
moderation.html 3KB
analytics
module.js 2KB
filters
regex.js 453B
empty.js 254B
nl2br.js 220B
.sorting 59B
directives
textCounter.js 5KB
formField.js 3KB
tabs.js 1KB
pagination.js 317B
fileUpload.js 6KB
breadcrumb.js 1KB
moderation.js 3KB
resultsList.js 13KB
modalContainer.js 3KB
wikiPanel.js 9KB
tooltip.js 2KB
common.js 1KB
images
icn-progress.png 8KB
icn-tooltip.png 51KB
共 69 条
- 1
weixin_38744435
- 粉丝: 370
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0