seimin 6eb4663975 移植华科大屏端 2 anos atrás
..
data 6eb4663975 移植华科大屏端 2 anos atrás
lib 6eb4663975 移植华科大屏端 2 anos atrás
ut 6eb4663975 移植华科大屏端 2 anos atrás
-primary-cases.html 6eb4663975 移植华科大屏端 2 anos atrás
README.md 6eb4663975 移植华科大屏端 2 anos atrás
allZero.html 6eb4663975 移植华科大屏端 2 anos atrás
area.html 6eb4663975 移植华科大屏端 2 anos atrás
area2.html 6eb4663975 移植华科大屏端 2 anos atrás
areaLineUpdate.html 6eb4663975 移植华科大屏端 2 anos atrás
axes.html 6eb4663975 移植华科大屏端 2 anos atrás
axis-extrema.html 6eb4663975 移植华科大屏端 2 anos atrás
axis.html 6eb4663975 移植华科大屏端 2 anos atrás
bar-large.html 6eb4663975 移植华科大屏端 2 anos atrás
bar.html 6eb4663975 移植华科大屏端 2 anos atrás
bar2.html 6eb4663975 移植华科大屏端 2 anos atrás
bar3.html 6eb4663975 移植华科大屏端 2 anos atrás
bmap.html 6eb4663975 移植华科大屏端 2 anos atrás
boxplot-multi.html 6eb4663975 移植华科大屏端 2 anos atrás
boxplot.html 6eb4663975 移植华科大屏端 2 anos atrás
brush.html 6eb4663975 移植华科大屏端 2 anos atrás
brush2.html 6eb4663975 移植华科大屏端 2 anos atrás
candlestick.html 6eb4663975 移植华科大屏端 2 anos atrás
candlestickConnect.html 6eb4663975 移植华科大屏端 2 anos atrás
chord.html 6eb4663975 移植华科大屏端 2 anos atrás
color-mix-aqi.html 6eb4663975 移植华科大屏端 2 anos atrás
config.js 6eb4663975 移植华科大屏端 2 anos atrás
connect-manually.html 6eb4663975 移植华科大屏端 2 anos atrás
connect.html 6eb4663975 移植华科大屏端 2 anos atrás
connect2.html 6eb4663975 移植华科大屏端 2 anos atrás
css-transform.html 6eb4663975 移植华科大屏端 2 anos atrás
dataView.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-axes.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-axis-type.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-cartesian-h.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-cartesian-v.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-dataShadow.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-dataShadow0.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-dataShadow1.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-dataShadow2.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-dynamic.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-geo.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-rainfall-connect.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-rainfall-inside.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-rainfall.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-scatter-category.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-scatter-hv-polar.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-scatter-hv.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoom-scatter-toolbox.html 6eb4663975 移植华科大屏端 2 anos atrás
dataZoomHighPrecision.html 6eb4663975 移植华科大屏端 2 anos atrás
diff.html 6eb4663975 移植华科大屏端 2 anos atrás
dynamicData.html 6eb4663975 移植华科大屏端 2 anos atrás
dynamicData2.html 6eb4663975 移植华科大屏端 2 anos atrás
dynamicData3.html 6eb4663975 移植华科大屏端 2 anos atrás
effectScatter.html 6eb4663975 移植华科大屏端 2 anos atrás
esl.js 6eb4663975 移植华科大屏端 2 anos atrás
force.html 6eb4663975 移植华科大屏端 2 anos atrás
force2.html 6eb4663975 移植华科大屏端 2 anos atrás
force3.html 6eb4663975 移植华科大屏端 2 anos atrás
funnel.html 6eb4663975 移植华科大屏端 2 anos atrás
gauge.html 6eb4663975 移植华科大屏端 2 anos atrás
geo-map.html 6eb4663975 移植华科大屏端 2 anos atrás
geoLine.html 6eb4663975 移植华科大屏端 2 anos atrás
geoScatter.html 6eb4663975 移植华科大屏端 2 anos atrás
getOption.html 6eb4663975 移植华科大屏端 2 anos atrás
graph-grid.html 6eb4663975 移植华科大屏端 2 anos atrás
graph-simple.html 6eb4663975 移植华科大屏端 2 anos atrás
graph.html 6eb4663975 移植华科大屏端 2 anos atrás
graphicOption.html 6eb4663975 移植华科大屏端 2 anos atrás
heatmap-large.html 6eb4663975 移植华科大屏端 2 anos atrás
heatmap-map.html 6eb4663975 移植华科大屏端 2 anos atrás
heatmap.html 6eb4663975 移植华科大屏端 2 anos atrás
ie8.html 6eb4663975 移植华科大屏端 2 anos atrás
largeLine.html 6eb4663975 移植华科大屏端 2 anos atrás
lazyUpdate.html 6eb4663975 移植华科大屏端 2 anos atrás
line-visual.html 6eb4663975 移植华科大屏端 2 anos atrás
line.html 6eb4663975 移植华科大屏端 2 anos atrás
lines-bus.html 6eb4663975 移植华科大屏端 2 anos atrás
lines-symbol.html 6eb4663975 移植华科大屏端 2 anos atrás
lines-track.html 6eb4663975 移植华科大屏端 2 anos atrás
loading.html 6eb4663975 移植华科大屏端 2 anos atrás
logScale.html 6eb4663975 移植华科大屏端 2 anos atrás
map-contour.html 6eb4663975 移植华科大屏端 2 anos atrás
map-parallel.html 6eb4663975 移植华科大屏端 2 anos atrás
map.html 6eb4663975 移植华科大屏端 2 anos atrás
mapWorld.html 6eb4663975 移植华科大屏端 2 anos atrás
markArea.html 6eb4663975 移植华科大屏端 2 anos atrás
markLine.html 6eb4663975 移植华科大屏端 2 anos atrás
markPoint.html 6eb4663975 移植华科大屏端 2 anos atrás
masterPainterColorChoice.html 6eb4663975 移植华科大屏端 2 anos atrás
media-dataZoom.html 6eb4663975 移植华科大屏端 2 anos atrás
media-finance.html 6eb4663975 移植华科大屏端 2 anos atrás
media-pie.html 6eb4663975 移植华科大屏端 2 anos atrás
mix.html 6eb4663975 移植华科大屏端 2 anos atrás
mobileBench.html 6eb4663975 移植华科大屏端 2 anos atrás
multipleGrid.html 6eb4663975 移植华科大屏端 2 anos atrás
parallel-aqi.html 6eb4663975 移植华科大屏端 2 anos atrás
parallel-nutrients.html 6eb4663975 移植华科大屏端 2 anos atrás
pictorial-repeat.html 6eb4663975 移植华科大屏端 2 anos atrás
pictorial-single.html 6eb4663975 移植华科大屏端 2 anos atrás
pie-calculable.html 6eb4663975 移植华科大屏端 2 anos atrás
pie.html 6eb4663975 移植华科大屏端 2 anos atrás
pie2.html 6eb4663975 移植华科大屏端 2 anos atrás
pie3.html 6eb4663975 移植华科大屏端 2 anos atrás
pieDynamic.html 6eb4663975 移植华科大屏端 2 anos atrás
polarLine.html 6eb4663975 移植华科大屏端 2 anos atrás
polarLine2.html 6eb4663975 移植华科大屏端 2 anos atrás
polarScatter.html 6eb4663975 移植华科大屏端 2 anos atrás
punchCard.html 6eb4663975 移植华科大屏端 2 anos atrás
radar.html 6eb4663975 移植华科大屏端 2 anos atrás
radar2.html 6eb4663975 移植华科大屏端 2 anos atrás
radar3.html 6eb4663975 移植华科大屏端 2 anos atrás
radar4.html 6eb4663975 移植华科大屏端 2 anos atrás
reset.css 6eb4663975 移植华科大屏端 2 anos atrás
roseType.html 6eb4663975 移植华科大屏端 2 anos atrás
sankey.html 6eb4663975 移植华科大屏端 2 anos atrás
scale-integer.html 6eb4663975 移植华科大屏端 2 anos atrás
scatter-single-axis.html 6eb4663975 移植华科大屏端 2 anos atrás
scatter.html 6eb4663975 移植华科大屏端 2 anos atrás
scatterMatrix.html 6eb4663975 移植华科大屏端 2 anos atrás
selectedMode.html 6eb4663975 移植华科大屏端 2 anos atrás
showTip.html 6eb4663975 移植华科大屏端 2 anos atrás
singleAxisScales.html 6eb4663975 移植华科大屏端 2 anos atrás
symbol.html 6eb4663975 移植华科大屏端 2 anos atrás
theme.html 6eb4663975 移植华科大屏端 2 anos atrás
themeRiver.html 6eb4663975 移植华科大屏端 2 anos atrás
themeRiver2.html 6eb4663975 移植华科大屏端 2 anos atrás
timeScale.html 6eb4663975 移植华科大屏端 2 anos atrás
timeline-finance.html 6eb4663975 移植华科大屏端 2 anos atrás
timeline-layout.html 6eb4663975 移植华科大屏端 2 anos atrás
tooltip.html 6eb4663975 移植华科大屏端 2 anos atrás
touch-slide.html 6eb4663975 移植华科大屏端 2 anos atrás
touch-test.html 6eb4663975 移植华科大屏端 2 anos atrás
touch-tooltip.html 6eb4663975 移植华科大屏端 2 anos atrás
treemap-disk.html 6eb4663975 移植华科大屏端 2 anos atrás
treemap-obama.html 6eb4663975 移植华科大屏端 2 anos atrás
treemap-option.html 6eb4663975 移植华科大屏端 2 anos atrás
treemap-option2.html 6eb4663975 移植华科大屏端 2 anos atrás
treemap-simple.html 6eb4663975 移植华科大屏端 2 anos atrás
treemap-visual.html 6eb4663975 移植华科大屏端 2 anos atrás
visualMap-categories.html 6eb4663975 移植华科大屏端 2 anos atrás
visualMap-continuous.html 6eb4663975 移植华科大屏端 2 anos atrás
visualMap-layout.html 6eb4663975 移植华科大屏端 2 anos atrás
visualMap-opacity.html 6eb4663975 移植华科大屏端 2 anos atrás
visualMap-pieces.html 6eb4663975 移植华科大屏端 2 anos atrás
visualMap-scatter-colorAndSymbol.html 6eb4663975 移植华科大屏端 2 anos atrás
visualMap-scatter-symbolSize.html 6eb4663975 移植华科大屏端 2 anos atrás
webkit-dep.html 6eb4663975 移植华科大屏端 2 anos atrás
worldPopulationBubble.html 6eb4663975 移植华科大屏端 2 anos atrás

README.md

Test Guide

Functional Test

Open ./*.html files in Web Browsers.

Unit Test

Rendering-relevant

Our test strategy is to compare the rendered canvas of current version with last release version. The comparison can either based on the content of rendered canvas, or the stack of canvas operations.

When a test case fails, it doesn't necessary to be a bug since the rendering method may be changed intentionally in a commit. So in this case, we output the rendering result of both versions and the diff result.

Make sure ../dist/echarts.js is the built based on current source files by:

cd ../build
npm install
bash build.sh

By default, we compare current version with last release version. To run the test, you should first download last release using:

cd ../test/ut
./configure

which will download echart.js of last release into ./ut/tmp/oldEcharts.js.

Then, open ./ut/ui.html in Web Browsers.

Compare current with a specific release

If one argument is passed, we take it as the hash code of a release and compare current version with /dist/echarts.js of the that version.

# this compares current `/dist/echarts.js` with that of v3.1.6
./configure 3724a16

Compare arbitrary two commits

Since /dist/echarts.js is only the build result of release versions, to compare arbitrary versions, you need to checkout specific commits and build the source files. Put the build results as ./tmp/oldEcharts.js and ./tmp/newEcharts.js will work.

Rendering-irrelevant

Open ./ut.html files in Web Browsers.