Italbytz.Meal.Testing 1.0.0

dotnet add package Italbytz.Meal.Testing --version 1.0.0
                    
NuGet\Install-Package Italbytz.Meal.Testing -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Italbytz.Meal.Testing" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Italbytz.Meal.Testing" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Italbytz.Meal.Testing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Italbytz.Meal.Testing --version 1.0.0
                    
#r "nuget: Italbytz.Meal.Testing, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Italbytz.Meal.Testing@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Italbytz.Meal.Testing&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Italbytz.Meal.Testing&version=1.0.0
                    
Install as a Cake Tool

nuget-meal

Documentation

nuget-meal bundles the refactored Italbytz.Meal.* package family for mensa and meal-plan scenarios.

It is intended for developers who need reusable meal contracts, OpenMensa integration, and sample/testing helpers for apps, demos, and teaching material.

Which package should I use?

  • Use Italbytz.Meal.Abstractions for contracts such as IMeal, IMealCollection, IMealQuery, IPrice, and IGetMealsService, plus the shared default Meal and Price implementations.
  • Use Italbytz.Meal.OpenMensa.Client when you need the raw OpenMensa API client and transport models.
  • Use Italbytz.Meal.OpenMensa for the ready-to-use OpenMensa meal service, data source, and mapping helpers.
  • Use Italbytz.Meal.STWPB.Client when you need the raw Studentenwerk Paderborn (STWPB) transport models and API access.
  • Use Italbytz.Meal.STWPB for the ready-to-use STWPB meal data source and mapping helpers.
  • Use Italbytz.Meal.Testing for mock meals, mock collections, and test-friendly example services.

Documentation

API documentation is generated with docfx and can be published via GitHub Pages:

  • https://italbytz.github.io/nuget-meal/

The doc site now also includes an integration guide that explains how OpenMensa, STWPB, and the testing helpers fit together in the consolidated package family.

Quality checks

This repository includes:

  • a GitHub Actions workflow in .github/workflows/ci.yml
  • automated restore, build, test, pack, and docs generation
  • a docfx setup under docfx/

Release model

  • the current nuget-meal line stays on 1.0.0-preview.* while the STWPB follow-up wave is still pending
  • a pushed tag such as v1.0.0-preview.1 triggers the release-ready pipeline in GitHub Actions
  • if the repository secret NUGET_API_KEY is configured, the workflow also publishes .nupkg and .snupkg files to NuGet

Local validation

dotnet restore nuget-meal.sln
dotnet test nuget-meal.sln -v minimal
dotnet pack nuget-meal.sln -c Release -v minimal
dotnet tool restore
dotnet tool run docfx docfx/docfx.json
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 134 4/18/2026
1.0.0-preview.4 70 4/18/2026
1.0.0-preview.3 76 4/10/2026