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

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.