Test Cases - Stetson-Team-Alpha/paper.js GitHub Wiki
What to Test on##
- Browsers: Firefox, Google Chrome, Safari
- OS: Windows 7, Linux, Mac OS
Import SVG
Import Line
- Line with points not set
- Convert SVG line to a Paper.js line
Import Rectangle
- Convert SVG rectangle to Paper.js rectangle
- Convert SVG rounded rectangle to Paper.js rounded rectangle
- Import SVG rectangles and rounded rectangles with no values/missing values
Import Oval/Circle
- Convert SVG oval to Paper.js oval
- Convert SVG circle to Paper.js circle
- Import SVG ovals and circles with no values/missing values
Import Text
- Import text with rotation
- Import text with no values/missing values
Import Path
- Check that each case (including the default) is working
Import Group
- Import groups with and without items
- Import a group at least 10x nested
Export SVG
RGB to Hex/RBG Converter
- Valid/Invalid RBG
Export Paths
- Path with 0, 1, 100, 10000 segments
- Valid/Invalid handlein/handleout
- Closed/Open ports
- Valid/Invalid strokewidth
- Valid/Invalid fillcolor
Also, build various SVG and Paper.js pages using every single element of the Import and Export method, then visually test