Skip to main content
moving edit to answer per @DMGregory's suggestion
Source Link
Jacksonkr
  • 259
  • 3
  • 16

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

** EDIT **

I'm finding out that

  • UnityEngine.SceneManagement only works in Play Mode
  • Edit Mode tests seem to only run from the Test Runner directly

Biggest take-aways

  • Play Mode testing seems most beneficial and accurate to UX
  • Edit Mode seems to be for pre-commit style testing eg. run smoke tests whenever the editor is modified

My favorite article on Unity game testing is by Ray Wenderlich

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

** EDIT **

I'm finding out that

  • UnityEngine.SceneManagement only works in Play Mode
  • Edit Mode tests seem to only run from the Test Runner directly

Biggest take-aways

  • Play Mode testing seems most beneficial and accurate to UX
  • Edit Mode seems to be for pre-commit style testing eg. run smoke tests whenever the editor is modified

My favorite article on Unity game testing is by Ray Wenderlich

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

deleted 18 characters in body
Source Link
Jacksonkr
  • 259
  • 3
  • 16

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

** EDIT **

I'm finding out that

  • UnityEngine.SceneManagement only works in Play Mode
  • Edit Mode tests seem to only run from the Test Runner directly

Biggest take-aways

  • Play Mode testing seems most beneficial and accurate to the UX
  • Edit Mode seems to be for pre-commit style testing eg. check for BIG issuesrun smoke tests whenever the editor is opened / restoredmodified

My favorite article on Unity game testing is by Ray Wenderlich

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

** EDIT **

I'm finding out that

  • UnityEngine.SceneManagement only works in Play Mode
  • Edit Mode tests seem to only run from the Test Runner directly

Biggest take-aways

  • Play Mode testing seems most beneficial and accurate to the UX
  • Edit Mode seems to be for pre-commit style testing eg. check for BIG issues whenever the editor is opened / restored

My favorite article on Unity game testing is by Ray Wenderlich

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

** EDIT **

I'm finding out that

  • UnityEngine.SceneManagement only works in Play Mode
  • Edit Mode tests seem to only run from the Test Runner directly

Biggest take-aways

  • Play Mode testing seems most beneficial and accurate to UX
  • Edit Mode seems to be for pre-commit style testing eg. run smoke tests whenever the editor is modified

My favorite article on Unity game testing is by Ray Wenderlich

deleted 81 characters in body
Source Link
Jacksonkr
  • 259
  • 3
  • 16

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

** EDIT **

I'm finding out that

  • UnityEngine.SceneManagement only works in Play Mode
  • Play Mode tests seem run anytime your scene is played (manual OR test runner)
  • Edit Mode tests seem to only run from the Test Runner directly

Biggest take-aways

  • Play Mode testing seems most beneficial and accurate to the UX
  • Edit Mode seems to be for pre-commit style testing eg. check for BIG issues whenever the editor is opened / restored

My favorite article on Unity game testing is by Ray Wenderlich

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

** EDIT **

I'm finding out that

  • UnityEngine.SceneManagement only works in Play Mode
  • Play Mode tests seem run anytime your scene is played (manual OR test runner)
  • Edit Mode tests seem to only run from the Test Runner directly

Biggest take-aways

  • Play Mode testing seems most beneficial and accurate to the UX
  • Edit Mode seems to be for pre-commit style testing eg. check for BIG issues whenever the editor is opened / restored

My favorite article on Unity game testing is by Ray Wenderlich

I have been reading about Edit Mode vs Play Mode testing and I'm not seeing any real reasons of why I would use Play mode testing over Edit mode testing. My assumption is that edit mode is better for writing tests and play mode is more for when testing is finalized.

What might sway someone to use one mode over the other?

** EDIT **

I'm finding out that

  • UnityEngine.SceneManagement only works in Play Mode
  • Edit Mode tests seem to only run from the Test Runner directly

Biggest take-aways

  • Play Mode testing seems most beneficial and accurate to the UX
  • Edit Mode seems to be for pre-commit style testing eg. check for BIG issues whenever the editor is opened / restored

My favorite article on Unity game testing is by Ray Wenderlich

added 238 characters in body
Source Link
Jacksonkr
  • 259
  • 3
  • 16
Loading
added 119 characters in body
Source Link
Jacksonkr
  • 259
  • 3
  • 16
Loading
added 93 characters in body
Source Link
Jacksonkr
  • 259
  • 3
  • 16
Loading
added 5 characters in body
Source Link
Jacksonkr
  • 259
  • 3
  • 16
Loading
Source Link
Jacksonkr
  • 259
  • 3
  • 16
Loading