Gallaecio Posted March 20, 2018 Share Posted March 20, 2018 I would like to run the current JavaScript automated tests, as a first step to write my own, however I do not think I am running them. The reason why I think I am not running them is because ./binaries/system/test --help-tests does not list UnitAI, which is the specific JavaScript test file I wanted to extend with new test cases. So, is the ./binaries/system/test command running the JavaScript automated tests as well? If so, how can I verify so? Otherwise, how can I run the JavaScript automated tests? Link to comment Share on other sites More sharing options...
Gallaecio Posted March 20, 2018 Author Share Posted March 20, 2018 Replying to myself based on responses on IRC by @Itms and @elexis: JavaScript tests are indeed executed by the test executable. They are listed as a single test, “TestComponentScripts test_scripts”. You can verify so by adding an error to them, such as “TS_ASSERT(false);” or a syntax error. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now