CommunityToolkit / Aspire

A community project with additional components and extensions for .NET Aspire
MIT License
227 stars 29 forks source link

ollama code coverge #195

Closed aaronpowell closed 3 weeks ago

aaronpowell commented 3 weeks ago

Contributing to #168

aaronpowell commented 3 weeks ago

@Alirexaa I can't figure out how to get the Ollama tests to above 60% (admittedly part of it is the hook which is really hard to test), so this is probably as good a coverage as we can get (but at least it's a total over 80% now!).

Alirexaa commented 3 weeks ago

@Alirexaa I can't figure out how to get the Ollama tests to above 60% (admittedly part of it is the hook which is really hard to test), so this is probably as good a coverage as we can get (but at least it's a total over 80% now!).

I think adding funtional test to ensure data volume presistance work could help us. I will take a look at it and try to add more funtional tests.

github-actions[bot] commented 3 weeks ago

Code Coverage

Package Line Rate Branch Rate Complexity Health
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder 100% 100% 6
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps 100% 100% 28
CommunityToolkit.Aspire.Hosting.Deno 84% 75% 72
CommunityToolkit.Aspire.Hosting.Golang 94% 50% 16
CommunityToolkit.Aspire.Hosting.Java 98% 71% 58
CommunityToolkit.Aspire.Hosting.Meilisearch 61% 27% 94
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions 90% 68% 92
CommunityToolkit.Aspire.Hosting.Ollama 62% 61% 184
CommunityToolkit.Aspire.Meilisearch 97% 92% 68
CommunityToolkit.Aspire.OllamaSharp 84% 77% 76
Summary 81% (1202 / 1482) 64% (338 / 528) 694

Minimum allowed line rate is 60%