Giter VIP home page Giter VIP logo

Comments (4)

AlexDarigan avatar AlexDarigan commented on August 12, 2024

I can't reproduce. What name did you change it from and what did you change it too?

There might be a chance this has nothing to do renaming and deals with a possible issue with yields if you quit your tests too early (the yields don't get flushed properly so you end up in an un-synced state)

from wat.

Jummit avatar Jummit commented on August 12, 2024

I have one test in my test folder with a bunch of tests.
I went to the WAT tab and ran all tests. Then I renamed the test in the FileSystem tab and re-ran all tests. After pressing "Run Script" Godot crashed.
What I noticed is that the name of the selected script didn't update, which most likely is the cause of the crash.

from wat.

AlexDarigan avatar AlexDarigan commented on August 12, 2024

Alright so I get the issue with the single script runner. It checks your directory when you click the option button. So if you click it, change the name, don't update, then run the script, it will try to load the old script (which is what crashes the editor). That's a matter of simple error handling to update/warn.

Still no closer to solving to run all tests though. That one should be flushed if you wait for your tests to finish each time.

from wat.

AlexDarigan avatar AlexDarigan commented on August 12, 2024

Added a warning system and early exit for single select script in 1b438a5

Added a warning system for an empty set of tests collected in e0ceba6 ; My hope here is that the crash is related to trying to load an invalid test and I'm blocking it before it ever becomes a problem.

Tell me if your issues are gone (so I can then close this issue if so) @Jummit

from wat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.