• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AAEmu / AAEmu / 22683232304
5%

Build:
DEFAULT BRANCH: develop
Ran 04 Mar 2026 06:25PM UTC
Jobs 1
Files 2095
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Mar 2026 06:24PM UTC coverage: 10.796% (+4.5%) from 6.258%
22683232304

push

github

web-flow
test(managers): expand unit test coverage for Id, Doodad, Character a… (#1376)

* test(managers): expand unit test coverage for Id, Doodad, Character and World managers

Add comprehensive unit tests using TheoryData for parameterized testing,
Moq for dependency isolation, and organized test regions. New test files:
- CharacterManagerTests.cs with 41 test cases
- WorldManagerTests.cs with 66 test cases

Expanded coverage in existing files:
- IdManagerTests: parameterized tests for GetNextId, ReleaseId
- DoodadManagerTests: tests for Exist, GetTemplate, GetFunc methods
- TaskManagerTests: scheduling, cancellation and task ID tests
- ItemManagerTests, QuestManagerTests, SkillManagerTests: additional edge cases

* fix(tests): correct TimeSinceStart_ReturnsTimeSpanSinceStart test logic

The test was failing due to incorrect assumptions about GameService.StartTime
initialization timing. StartTime is initialized on first class load, not
when the test runs, causing failures when other tests load the class first.

Changed the test to verify TimeSinceStart consistency with DateTime.UtcNow
- StartTime instead of comparing against an arbitrary beforeTime value.

* test: remove 16 skipped placeholder tests

Remove empty skipped tests from ItemManagerTests (12) and
CharacterManagerTests (4) that required DI singleton initialization,
database connections, or static singletons without implementation.

* fix(tests): resolve NullReferenceException in WorldInstance.CleanupInstance()

- Add null check for SpawnManager in CleanupInstance() to prevent
  NullReferenceException when finalizer runs during test execution
- Configure xUnit v3 Testing Platform support in UnitTests.csproj

The SpawnManager property could be null when WorldInstance is garbage
collected in tests, causing a fatal error despite all tests passing.

* test: remove unused expectedFirstId parameter from IdManagerTests

2873 of 2915 new or added lines in 10 files covered. (98.56%)

2 existing lines in 2 files now uncovered.

7298 of 67597 relevant lines covered (10.8%)

0.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
98.88
AAEmu.UnitTests/Game/Core/Managers/World/WorldManagerTests.cs
36
92.75
0.44% AAEmu.UnitTests/Game/Core/Managers/UnitManagers/DoodadManagerTests.cs

Uncovered Existing Lines

Lines Coverage ∆ File
1
15.47
15.47% AAEmu.Game/Models/Game/World/WorldInstance.cs
1
92.75
0.44% AAEmu.UnitTests/Game/Core/Managers/UnitManagers/DoodadManagerTests.cs
Jobs
ID Job ID Ran Files Coverage
1 22683232304.1 04 Mar 2026 06:25PM UTC 2095
10.8
GitHub Action Run
Source Files on build 22683232304
  • Tree
  • List 2095
  • Changed 37
  • Source Changed 8
  • Coverage Changed 37
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22683232304
  • f3cd964e on github
  • Prev Build on develop (#22643778544)
  • Next Build on develop (#22801000666)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc