4
xsid
4y

People Then - Cut trees
People Now - Guid.NewGuid in unit test cases

Comments
  • 2
    Thats weirdly specific
  • 2
    Logging?
    Deforestation?
  • 1
  • 0
    I assume my question is stupid, but anyway: What's wrong with Guid.NewGuid in UTests?
  • 1
    @bzq84 assuming it's trying to compare a new GUID to a hardcoded value which statistically will never happen
  • 0
    @AlgoRythm ouch, such issue, omg 🤣
  • 0
    @bzq84 to moq methods, guid is needed. they are using Guid.New literally 1000s of places. These tests runs before completing PR and runs again before deploying on 8 environments. It's basically nx8+n without counting devs rerun builds and running tests on their machine.
Add Comment