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

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.