Files
excel.core/tests/Strata.Excel.Core.Test.Unit/Strata.Excel.Core.Test.Unit.csproj
Thom Lamb 0c144f5c66 feat: Initialize Strata.Excel.Core library with export, import, and test utilities
This commit introduces the `Strata.Excel.Core` project, a .NET library built on ClosedXML for robust Excel document generation and data import.

Key features include:
- **Export:** Flexible data export to Excel, supporting custom formatting, titles, subtitles, humanized headings, and batched processing for large datasets. Includes `ExcelContentResult` and `ZipFileContentResult` for ASP.NET Core integration.
- **Import:** Utilities to easily import data from Excel worksheets into C# objects.
- **Test Utilities:** Comprehensive helpers for comparing Excel workbooks in tests, handling resource extraction, and performing load tests.
- **Build Infrastructure:** Sets up a Dockerfile for building the library, including SonarQube and Dependency-Check scanning.
- **Project Structure:** Establishes `.gitignore`, `.dockerignore`, `nuget.config`, and a `README.md` with usage instructions and versioning guidelines.

This foundational commit provides a reusable and well-tested framework for Excel operations within Strata applications.
2026-06-23 11:08:58 -05:00

44 lines
1.8 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<None Remove="ExcelExportTests\data.json" />
<None Remove="ExpectedResults\TestCreateExcelWorkbook.xlsx" />
<None Remove="ExpectedResults\TestCreateExcelWorkbookWithoutHumanizedHeadings.xlsx" />
<None Remove="ExpectedResults\TestCreateExcelWorkbookWithTitlePage.xlsx" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="ExcelExportTests\data.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="ExpectedResults\TestCreateExcelWorkbook.xlsx" />
<EmbeddedResource Include="ExpectedResults\TestCreateExcelWorkbookWithoutHumanizedHeadings.xlsx" />
<EmbeddedResource Include="ExpectedResults\TestCreateExcelWorkbookWithTitlePage.xlsx" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="coverlet.msbuild" Version="3.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.7.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Include="Moq" Version="4.16.1" />
<PackageReference Include="NUnit" Version="3.13.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Strata.Excel.Core\Strata.Excel.Core.csproj" />
<ProjectReference Include="..\..\src\Strata.Excel.TestUtilities\Strata.Excel.TestUtilities.csproj" />
</ItemGroup>
</Project>