Back to Fluentui

UnitTests

packages/charts/react-charting/docs/TestPlans/DonutChart/UnitTests.md

4.40.2-hotfix21.3 KB
Original Source

Unit Test Plan - Donut Chart

Test stepsValidationTool used
Test 1:Create Legends
- With legends dataShould return proper legends dataRTL
- Without legends dataShould not return legends when there is no dataRTL
Test 2: Add Default Colors
- Without color data in inputShould return default colors when color is not defined input dataRTL
- With color dataShould return respective colors when color is defined input dataRTL
Test 3: To locale string
- With string dataShould return proper string when input is a stringRTL
- With numeric dataShould return proper string when input is a numberRTL