MonoGame/MonoGame

Add support for disabling the content pipeline unit tests

Open

#5,504 建立於 2017年2月23日

在 GitHub 查看
 (0 留言) (1 反應) (0 負責人)C# (13,886 star) (3,071 fork)batch import
ContentPipelineFeature RequestHelp WantedTesting

描述

We need to fix the unit tests project to be able to optionally not include the content pipeline tests. This is critical to getting the unit tests running on mobile and console platforms.

The simple fix would be to edit the Protobuild definition here:

https://github.com/MonoGame/MonoGame/blob/develop/Build/Projects/MonoGame.Tests.definition

To gather all the pipeline test source files into a Protobuild "service" as defined here:

https://protobuild.readthedocs.io/en/latest/service_dependencies.html#declaring-services

This way we can easily disable these tests for all non-desktop platforms.

貢獻者指南