Skip to content

Major overhaul of the test suites #395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
59f9cee
wip use static test charts for subsequent tests
kMutagene Apr 13, 2023
8fede70
Add test files for each chart type in codegen, rename folder,
kMutagene Apr 13, 2023
0f975f7
wip sorting html codegen test
kMutagene Apr 13, 2023
697f886
wip test execution files
kMutagene Apr 13, 2023
a7fa141
Greatly improve test pipeline and structure
kMutagene Apr 14, 2023
2454c65
adapt new test running pipeline for ci
kMutagene Apr 14, 2023
c1b5f95
improve readme
kMutagene Apr 14, 2023
5d0b17b
fix closing details in readme
kMutagene Apr 14, 2023
f0c327b
update readme
kMutagene Apr 14, 2023
9cea9f2
refactor html codegen tests
kMutagene Apr 14, 2023
934c08d
Add solutions for the core project and test suite
kMutagene Apr 15, 2023
4e6e7c8
Refactor some test charts, remove unnecessary files
kMutagene Apr 15, 2023
3a69790
Refactor test charts for simple charts tests into FSharpTestBase
kMutagene Apr 16, 2023
3d5cdd8
Move test utils into TestBase project
kMutagene Apr 16, 2023
c849e78
Move SimpleCharts tests into the respective ChartAPI based modules
kMutagene Apr 16, 2023
75275ee
Refactor Chart3D html codegen tests
kMutagene Apr 16, 2023
f6ee7cc
Refactor Distribution tests
kMutagene Apr 16, 2023
4308d80
Refactor ChartMap tests
kMutagene Apr 18, 2023
2518abd
Refactor FinanceChart tests
kMutagene Jul 7, 2023
6264032
Refactor PolarCharts tests
kMutagene Jul 7, 2023
8041beb
Refactor TernaryCharts tests
kMutagene Jul 7, 2023
1f1b4fb
Refactor CarpetCharts tests
kMutagene Jul 7, 2023
e08e49e
Refactor CategoricalCharts tests
kMutagene Jul 7, 2023
07b8aa4
Refactor SmithCharts tests
kMutagene Jul 7, 2023
fb2b364
Fix a file path in the core test project (yay for non-case sensitive …
kMutagene Jul 7, 2023
e153747
more path fixes
kMutagene Jul 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: chmod u+x build.sh
- name: Build and test
working-directory: ./
run: ./build.sh runtests
run: ./build.sh runtestsallnonetfx

build-and-test-windows:

Expand All @@ -36,4 +36,4 @@ jobs:
dotnet-version: 6.x.x
- name: Build and test (includes netfx)
working-directory: ./
run: ./build.cmd runtestsnetfx
run: ./build.cmd runtestsall
53 changes: 53 additions & 0 deletions Plotly.NET.Core.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33530.505
MinimumVisualStudioVersion = 10.0.40219.1
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "Plotly.NET", "src\Plotly.NET\Plotly.NET.fsproj", "{0CF51626-E5F1-453E-A689-2D95B436D96B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{61781406-92F2-4717-AB99-C67C02D4A112}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.config\dotnet-tools.json = .config\dotnet-tools.json
key.snk = key.snk
LICENSE = LICENSE
README.md = README.md
RELEASE_NOTES.md = RELEASE_NOTES.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{2FF92462-3027-47B2-BB69-0ADD97F11943}"
ProjectSection(SolutionItems) = preProject
build.cmd = build.cmd
build.sh = build.sh
global.json = global.json
EndProjectSection
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "build", "build\build.fsproj", "{3356D9F4-4BCF-47D7-A9BB-CCB998E37B1D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Dotnet|Any CPU = Dotnet|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0CF51626-E5F1-453E-A689-2D95B436D96B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0CF51626-E5F1-453E-A689-2D95B436D96B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0CF51626-E5F1-453E-A689-2D95B436D96B}.Dotnet|Any CPU.ActiveCfg = Dotnet|Any CPU
{0CF51626-E5F1-453E-A689-2D95B436D96B}.Dotnet|Any CPU.Build.0 = Dotnet|Any CPU
{0CF51626-E5F1-453E-A689-2D95B436D96B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0CF51626-E5F1-453E-A689-2D95B436D96B}.Release|Any CPU.Build.0 = Release|Any CPU
{3356D9F4-4BCF-47D7-A9BB-CCB998E37B1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3356D9F4-4BCF-47D7-A9BB-CCB998E37B1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3356D9F4-4BCF-47D7-A9BB-CCB998E37B1D}.Dotnet|Any CPU.ActiveCfg = Debug|Any CPU
{3356D9F4-4BCF-47D7-A9BB-CCB998E37B1D}.Dotnet|Any CPU.Build.0 = Debug|Any CPU
{3356D9F4-4BCF-47D7-A9BB-CCB998E37B1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3356D9F4-4BCF-47D7-A9BB-CCB998E37B1D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{3356D9F4-4BCF-47D7-A9BB-CCB998E37B1D} = {2FF92462-3027-47B2-BB69-0ADD97F11943}
EndGlobalSection
EndGlobal
83 changes: 83 additions & 0 deletions Plotly.NET.TestSuite.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33530.505
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{CAAD0310-031B-4875-9AB2-7026A0DCD941}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CoreTests", "CoreTests", "{6C49B0AB-8502-4E46-9348-64161F84E727}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ExtensionLibTests", "ExtensionLibTests", "{CCB58D28-C02B-49A8-8614-8BD3D4FA9DF9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "JSTests", "JSTests", "{82F7B528-07C1-4E77-AD8B-9738FAB57974}"
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharpTestBase", "tests\Common\FSharpTestBase\FSharpTestBase.fsproj", "{1971920D-8E65-41FF-84DA-47E8B29738E8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSharpTestBase", "tests\Common\CSharpTestBase\CSharpTestBase.csproj", "{21AFCC90-CB61-4B03-9394-D9A9A769AB6E}"
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "CoreTests", "tests\CoreTests\CoreTests\CoreTests.fsproj", "{BA47F7BE-B699-4E65-9CD0-938F92BA976C}"
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "StrongNameTests", "tests\CoreTests\StrongNameTests\StrongNameTests.fsproj", "{26AA07CD-168B-45FC-93D3-315A26198E92}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSharpInteroperabilityTests", "tests\CoreTests\CSharpInteroperabilityTests\CSharpInteroperabilityTests.csproj", "{FEAB6AB7-1F9A-4E75-B047-F34C3AE1919B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSharpTests", "tests\ExtensionLibsTests\CSharpTests\CSharpTests.csproj", "{24AE6CF2-8A86-4F8B-82D6-30D04D674933}"
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "ImageExportTests", "tests\ExtensionLibsTests\ImageExportTests\ImageExportTests.fsproj", "{B1214EE4-C1D4-4046-975D-A06373390E71}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".project", ".project", "{F8584D5A-AC8A-488D-9ACF-7C6570A9BE2B}"
ProjectSection(SolutionItems) = preProject
tests\README.md = tests\README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1971920D-8E65-41FF-84DA-47E8B29738E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1971920D-8E65-41FF-84DA-47E8B29738E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1971920D-8E65-41FF-84DA-47E8B29738E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1971920D-8E65-41FF-84DA-47E8B29738E8}.Release|Any CPU.Build.0 = Release|Any CPU
{21AFCC90-CB61-4B03-9394-D9A9A769AB6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{21AFCC90-CB61-4B03-9394-D9A9A769AB6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{21AFCC90-CB61-4B03-9394-D9A9A769AB6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{21AFCC90-CB61-4B03-9394-D9A9A769AB6E}.Release|Any CPU.Build.0 = Release|Any CPU
{BA47F7BE-B699-4E65-9CD0-938F92BA976C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BA47F7BE-B699-4E65-9CD0-938F92BA976C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA47F7BE-B699-4E65-9CD0-938F92BA976C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA47F7BE-B699-4E65-9CD0-938F92BA976C}.Release|Any CPU.Build.0 = Release|Any CPU
{26AA07CD-168B-45FC-93D3-315A26198E92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{26AA07CD-168B-45FC-93D3-315A26198E92}.Debug|Any CPU.Build.0 = Debug|Any CPU
{26AA07CD-168B-45FC-93D3-315A26198E92}.Release|Any CPU.ActiveCfg = Release|Any CPU
{26AA07CD-168B-45FC-93D3-315A26198E92}.Release|Any CPU.Build.0 = Release|Any CPU
{FEAB6AB7-1F9A-4E75-B047-F34C3AE1919B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FEAB6AB7-1F9A-4E75-B047-F34C3AE1919B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FEAB6AB7-1F9A-4E75-B047-F34C3AE1919B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FEAB6AB7-1F9A-4E75-B047-F34C3AE1919B}.Release|Any CPU.Build.0 = Release|Any CPU
{24AE6CF2-8A86-4F8B-82D6-30D04D674933}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{24AE6CF2-8A86-4F8B-82D6-30D04D674933}.Debug|Any CPU.Build.0 = Debug|Any CPU
{24AE6CF2-8A86-4F8B-82D6-30D04D674933}.Release|Any CPU.ActiveCfg = Release|Any CPU
{24AE6CF2-8A86-4F8B-82D6-30D04D674933}.Release|Any CPU.Build.0 = Release|Any CPU
{B1214EE4-C1D4-4046-975D-A06373390E71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B1214EE4-C1D4-4046-975D-A06373390E71}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B1214EE4-C1D4-4046-975D-A06373390E71}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B1214EE4-C1D4-4046-975D-A06373390E71}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{1971920D-8E65-41FF-84DA-47E8B29738E8} = {CAAD0310-031B-4875-9AB2-7026A0DCD941}
{21AFCC90-CB61-4B03-9394-D9A9A769AB6E} = {CAAD0310-031B-4875-9AB2-7026A0DCD941}
{BA47F7BE-B699-4E65-9CD0-938F92BA976C} = {6C49B0AB-8502-4E46-9348-64161F84E727}
{26AA07CD-168B-45FC-93D3-315A26198E92} = {6C49B0AB-8502-4E46-9348-64161F84E727}
{FEAB6AB7-1F9A-4E75-B047-F34C3AE1919B} = {6C49B0AB-8502-4E46-9348-64161F84E727}
{24AE6CF2-8A86-4F8B-82D6-30D04D674933} = {CCB58D28-C02B-49A8-8614-8BD3D4FA9DF9}
{B1214EE4-C1D4-4046-975D-A06373390E71} = {CCB58D28-C02B-49A8-8614-8BD3D4FA9DF9}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {67F9FFDF-3841-4DE1-9A55-9494FFC0A288}
EndGlobalSection
EndGlobal
Loading