Jump to content
Sign in to follow this  

Running the JavaScript Automated Tests

Recommended Posts

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 


command running the JavaScript automated tests as well? If so, how can I verify so? Otherwise, how can I run the JavaScript automated tests?

Share this post

Link to post
Share on other sites

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.


  • Like 2

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...