Ilya Gorbunov
05f9154bdd
Use fixed versions of node.js and npm packages in tests
2020-06-15 17:18:10 +03:00
Vyacheslav Gerasimov
b4df4e5525
Build: Fix variant resolution ambiguity
2020-06-14 20:31:27 +03:00
Vyacheslav Gerasimov
fa1c6c9697
Build: Add missing com.github.node-gradle.node plugin versions
2020-01-13 19:40:08 +03:00
Svyatoslav Kuzmich
31c84e9ac4
[JS IR] Build stdlib using compiler from repo
...
Previously JS IR versions of stdlib and kotlin-test were build
by default using compiler previously built on a buildserver.
It had some issues:
- This required us to advance bootstrap every time we made any
incompatible IR changes. This happens often since IR ABI is
not quite stable yet.
- We never tested the exact combination of compiler and stdlib we publish
We tested:
- new compiler with new stdlib build by new compiler (in box tests)
- old compiler with new stdlib build by old compiler (in stdlib tests)
We published:
- new compiler with new stdlib build by old compiler
After this change JS IR compiler tests, builds and publishes
single configuration:
new compiler with new stdlib build by new compiler
JS IR stdlib and kotlin-test are now built using JavaExec of CLI instead
of Gradle plugin to avoid troubles of loading a freshly built plugin.
This also allows to have a granular dependencies: we don't rebuild klib
if we changed a lowering in a compiler backend, but we do rebuild it if
we changed IR serialization algorithm.
2019-12-25 13:44:57 +03:00
Vyacheslav Gerasimov
8d31d4a60f
Replace com.moowork.node plugin with com.github.node-gradle.node
2019-11-27 21:26:34 +03:00
Vyacheslav Gerasimov
81e24fbdb4
Build: Extract version of com.moowork.node to the settings.gradle
2019-11-27 21:26:34 +03:00
Vyacheslav Gerasimov
38f0fd256e
Build: Specify LIBRARY_ELEMENTS_ATTRIBUTE to JAR for configurations with js libraries
2019-10-28 17:21:23 +03:00
Ilya Gorbunov
5e8192bf74
Make kotlin-test-js integration test tasks incremental
...
Define their inputs and outputs, so they are run only
when js files in build/node-modules change. These don't include external
libraries node-modules
2019-07-15 19:41:44 +03:00
Anton Bannykh
f8035096ea
JS: lock tape version to avoid kotlin.test + tape integration test failure
2019-07-02 15:14:07 +03:00
Vyacheslav Gerasimov
55b1ee9a17
Build: Fix premature configuration resolution in kotlin-test-js-it
2019-06-27 17:56:48 +03:00
gcx11
b49c5bf74e
KT-22807: allow asynchronous testing in Kotlin/JS with QUnit
2019-04-16 14:17:22 +03:00
Ilya Gorbunov
d9d7b87fd9
Reformat kotlin.test library
2018-05-10 16:27:15 +03:00
Anton Bannykh
ff00831109
JS: minor fixes in kotlin-test-js-it
...
Jasmine version 2.6.0 doesn't support Promise-based
asynchronous tests.
Also the error message for an unexpected test result was incorrect.
2018-01-19 20:16:31 +03:00
Anton Bannykh
7b0070ea62
Promise-based async integration test for kotlin-test-js
2018-01-17 14:46:13 +03:00
Anton Bannykh
8ed8e05a68
JS: honor ignoreTestFailures flag and report failures to TC (KT-20735
...
fixed)
2017-12-19 14:38:15 +03:00
Anton Bannykh
7076fda542
JS: added back integration test for @BeforeTest and @AfterTest annotations
...
The test was removed in e5cfd198c7 in order
to prevent gradle tests from crashing when running with the old compiler.
2017-10-14 02:16:22 +03:00
Anton Bannykh
b839ba5015
JS: correct imports in kotlin.test-js integration test
2017-10-12 15:41:54 +03:00
Anton Bannykh
e5cfd198c7
JS: temporarily remove @BeforeTest and @AfterTest checks from integration test until bootstrap compiler supports the annotations.
2017-10-12 14:24:59 +03:00
Anton Bannykh
c57b0b4cbc
JS: rename @Before to @BeforeTest and @After to @AfterTest for better JUnit compatibility
2017-10-12 14:24:59 +03:00
Ilya Gorbunov
6fc3f269a6
Change logical path of kotlin-test-js-it project, fix paths to outputs
...
Fix paths to kotlin-test-js and kotlin-test-js-it outputs
2017-09-20 11:51:43 +02:00
Ilya Chernikov
4b3936b598
Revert to default build dirs, add missing projects
2017-09-20 11:51:28 +02:00
Anton Bannykh
f4b329a055
JS: support @Before and @After annotations in kotlin.test
2017-09-06 14:36:45 +03:00
Anton Bannykh
070e35bc15
JS: removed app-module-path dependency from integration tests
2017-08-16 13:21:46 +03:00
Anton Bannykh
a641838368
JS: clean up the unit test intergartion tests build file
2017-08-16 13:21:46 +03:00
Anton Bannykh
226ffb6c7e
JS: write integration test outputs to a file to prevent polluting the log with expected test failures
2017-08-16 13:21:46 +03:00
Anton Bannykh
6ed7eaf546
JS tests: changes to kotlin.test + the way compiler tests are generated.
2017-07-19 12:24:09 +03:00