Search Issue Tracker

Active

Votes

1

Found in

5.6.1p4

Issue ID

945000

Regression

No

"TestRunner" "PlayMode" test leaves behind "InitTestScene..." scene assets after test runs

Unity Test Runner

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 3Workaround is possible

Reproduction steps:

1. Create a New Project
2. "Window" -> "Test Runner"
3. "PlayMode"
4. "Enable Playmode tests"
5. Restart Editor
6. "Create Playmode tests with methods"
7. Spam "Run All"

Expected Result: Spamming isn't allowed and only one test at a time is run, with only one temporary scene created for that one test
Actual Result: Only one test is run, but multiple scenes are created, leaving all untested scenes in the assets folder

Reproduced with: 2017.8.0a1, 2017.3.0b4, 2017.2.0f3, 2017.1.2p1, 5.6.4f1, 5.6.0f3
Did not reproduce on: 5.5.5f1(Play Mode tests were only implemented in 5.6)

Note:
Reproduced on both Windows 10 and mac 10.12.6

Comments (1)

  1. 9c7fb3487565a778da963c39ca169836?d=mm

    nickolaib

    Nov 09, 2017 23:56

    Have this issue on my Mac, certainly distracts from development when the tester leaves a mess. Would really appreciate it if this could be fixed!

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.