Skip to content
Snippets Groups Projects
Commit 853f6fa8 authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch
Browse files

SSDM-14283 : V3 API TS: automated tests for auto-generated TypeScript...

SSDM-14283 : V3 API TS: automated tests for auto-generated TypeScript definition file (d.ts) - extend README with info on how to compile TypeScript
parent 410f97fd
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -45,6 +45,16 @@ Otherwise you need to specify the path to your Geckodriver in makeGeckodriverExe
Some Tips:
==========
TypeScript:
-----------
All tests that have ".ts" extension are written in TypeScript. Therefore, before then can be run, they need to be compiled to JavaScript.
To do that you need to execute Gradle task named "compileTypeScript" in "test-api-openbis-javascript" module.
The TypeScript compilation task is run automatically as part of the main "test" task that boots up the whole JavaScript tests machinery,
still if you develop your tests without shutting everything down, after each change of the TypeScript code you need to remember to run the TypeScript compilation again.
Otherwise, the browser will execute an old JavaScript code that does not contain your change.
Developing:
-----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment