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

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.