Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make iOS tests (interactive etc) work #8094

Open
Mindfulplays opened this issue Nov 16, 2023 · 3 comments
Open

Make iOS tests (interactive etc) work #8094

Mindfulplays opened this issue Nov 16, 2023 · 3 comments

Comments

@Mindfulplays
Copy link
Contributor

Intent

iOS tests are no longer working (?)

../Tests/Interactive/iOS > dotnet run MonoGame.InteractiveTests.iOS.csproj
/usr/local/share/dotnet/sdk/7.0.311/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(35,5): warning NETSDK1202: The workload 'ios' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/maui-support-policy for more information about the support policy. [MonoGame/MonoGame.Framework/MonoGame.Framework.iOS.csproj]
/usr/local/share/dotnet/sdk/7.0.311/Microsoft.Common.CurrentVersion.targets(1229,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [MonoGame/Tests/Interactive/iOS/MonoGame.InteractiveTests.iOS.csproj]

The build failed. Fix the build errors and run again.

Motivation

Ensure iOS/MacOS + MG is setup well.

@Mindfulplays Mindfulplays changed the title iOS tests (interactive etc) are stale/don't work Make iOS tests (interactive etc) work Nov 16, 2023
@Mindfulplays
Copy link
Contributor Author

Addressed in this issue

@Mindfulplays
Copy link
Contributor Author

Hi folks
@harry-cpp @tomspilman @mrhelmut @SimonDarksideJ
It looks like iOS interactive tests have a nice property of being extended to other platform easily. Someone has already done the legwork of building concepts like 'discover and run a list of tests' 'basic UI for tests' etc. I wonder how y'all feel about making the same work on Android, MacOS Windows as a common interactive test framework copied from iOS (perhaps even automated for some tests)?

As things like Vulkan or MoltenVk come along it feels like having a set of tests run on different devices will help catch end to end bugs during refactoring etc that's separate from headless unit tests.

@Mindfulplays
Copy link
Contributor Author

Done in #8110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@Mindfulplays and others