bevyengine / bevyengine/bevy

add tests for asset loaders

Open
#6,964 2 comments 0 reactions 0 assignees View on GitHub
A-Assets C-Testing D-Modest X-Uncontroversial
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## What problem does this solve or what need does it fill?

Some asset loaders (for example, gltf) are getting complex and are hard to tests as calling the loader function typically needs an asset server

## What solution would you like?

Figure out how to add tests for asset loaders

## Additional context

This was raised in #3512

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the asset-loader code and the discussion in issue #3512, then trace how loaders such as gltf currently obtain an asset server. Done means asset loaders can be exercised in tests without requiring an asset server, with tests covering the relevant loader behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.