owml/tests/OWML.Tests.Setup
AmazingAlek f7f0aa9bbf
v1: IoC, tests, new release pipeline, lots of cleanup/refactoring (#319)
* IoC (inversion of control) container - mostly NOT newing up stuff manually, using an IoC container (Unity - not the game engine) for this. Want a new dependendy for your class? Just put it into your constructor, the container handles the rest.
* Tests. Not very thorough yet, but laid the groundwork.
* Abstractions for processes, Unity Application class and GameObject creation. Needed for testing, as there's no way to run Unity code from outside of Unity, and for mocking Process calls.
* Moved all code to src folder. Tests are in tests folder.
* Moved sample mods from OWML.SampleMods to SampleMods.
* Dependencies that aren't on NuGet.org are moved to lib folders.
* Allowing old OW versions. Just outputting nicer errors instead of quitting.
* New Utils project. Contains the container, TypeExtensions (moved from Events) and JsonHelper (moved from ModHelper).
* Internal NuGet package (OW and Unity dlls for building OWML on GitHub) is moved to new private GitHub repo and has a new GitHub pipeline.
* ModHelper project creates the nuget package - no more OWML.Nuget project.
* Launcher project + pipeline creates the release zip - no more createrelease.bat.
* New GitHub pipeline for OWML - no more Azure DevOps.
* Should still be backwards compatible
2020-12-18 21:41:04 +01:00
..