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

Creating custom AutoBogus for WorldPersistenceTest and PacketsSerializableTest #2018

Merged
merged 10 commits into from
Apr 22, 2023

Conversation

Jannify
Copy link
Member

@Jannify Jannify commented Apr 8, 2023

The "official" AutoBogus nuget package provided many problems when using on PersistedWorldData and was also very slow. Therefor I implemented our own version with full customization.

While implementing I fixed a few serialization errors which have slipped the pr reviews.

@Jannify Jannify requested a review from Measurity April 15, 2023 21:04
@Jannify Jannify merged commit f9ac48b into SubnauticaNitrox:master Apr 22, 2023
@Jannify Jannify deleted the generateWPD branch April 22, 2023 19:22
Measurity pushed a commit to Measurity/Nitrox that referenced this pull request Apr 28, 2023
…zableTest (SubnauticaNitrox#2018)

* Fix potential NRE in AssertHelper

* Remove old Bogus implementation

* Added custom AutoFaker implementation

* Use custom faker for WorldPersistenceTest

* Updating WorldPersistenceTest with data structure changes

* Fixing unnoticed bugs; not anymore with the awesome savedata faker :D

* Implement the new faker in the PacketsSerializableTest

* Downgrade AutoBogus nuget to Bogus

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

Successfully merging this pull request may close these issues.

3 participants