Commit Graph

116 Commits

Author SHA1 Message Date
Alexey Andreev
4049bc529e js: introduce setting to choose module type 2023-12-23 16:32:55 +01:00
Alexey Andreev
b3e889fa11 junit: fix compiling tests for platforms which don't participate in testing 2023-11-26 22:05:23 +01:00
Alexey Andreev
997a31b683 junit: don't start browser if corresponding test platforms disabled 2023-11-23 16:04:32 +01:00
Alexey Andreev
9c6f23d280 classlib: optimize console output in JS backend 2023-11-07 20:00:33 +01:00
Alexey Andreev
eca3dc61f5 junit: fix exception reporting 2023-11-07 18:01:33 +01:00
Alexey Andreev
5ec4450bf8 JS: render all declarations into one remembered fragment, then output this fragment to real output 2023-11-05 08:55:24 +01:00
Alexey Andreev
23ad999bbd JS: get rid of IOException in SourceWriter and related classes 2023-10-31 20:09:55 +01:00
Alexey Andreev
32ee8943c1 JS: rewrite more natives with templates, get rid of runtime aliases in minification mode 2023-10-31 19:29:32 +01:00
Alexey Andreev
c6f60ca00e junit: fix crash when test runner is not configured 2023-10-17 10:04:57 +02:00
Alexey Andreev
55d3adb7ae junit: fix generation of html page for single-test JS runner 2023-10-12 21:13:48 +02:00
Alexey Andreev
0c0fb1a02b Fix running C tests 2023-10-06 10:55:08 +02:00
Alexey Andreev
8fb6087bf0 Fix running tests for C backend 2023-10-02 08:30:24 +02:00
Alexey Andreev
db4418ae1d Refactor test runner
1. Deprecate WhileClassCompilation annotation, introduce EachTestCompiledSeparately instead
2. Add annotations to enabled/disable tests for particular backends
2023-10-01 21:37:04 +02:00
Alexey Andreev
ee0ebd4c2b Remove excessive file 2023-09-29 21:12:05 +02:00
Alexey Andreev
47973face1 Simplify test runner, remove parallel run, remove HtmlUnit runner, fix Wasm tests 2023-09-29 21:11:23 +02:00
Alexey Andreev
b7cf7b593c wasm: when building tests, resolve absolute paths to source files in DWARF 2023-09-26 23:02:16 +02:00
Alexey Andreev
d7cae4af55 Fix running tests in wasm 2023-08-22 17:02:33 +02:00
Alexey Andreev
334e2829b3 JS: supports module imports in JSBody 2023-08-03 15:42:15 +02:00
Alexey Andreev
a97e0ef45c JS: generate code in UMD wrapper (to be compatible with node.js, webpack, etc). 2023-08-01 20:11:32 +02:00
zufarfakhurtdinov
e801ff5b10
Fix running tests in macOS (#689)
Co-authored-by: Zufar Fakhurtdinov <zufar.fakhurtdinov@delightex.com>
2023-04-11 12:57:28 +02:00
Alexey Andreev
4756c9009a Fix running tests from Gradle plugin 2023-04-11 09:46:45 +02:00
Alexey Andreev
19c0492c33 Fix running tests in Windows 2023-03-24 15:12:34 +01:00
Alexey Andreev
8014c038c0 Migrate to gradle 2023-01-23 17:16:07 +01:00
Alexey Andreev
a543b91b84 Wasm: fix error when parsing command line args 2022-11-17 16:35:28 +01:00
Alexey Andreev
238873cbe7 Apply Java 11 syntax 2022-11-17 14:36:55 +01:00
Alexey Andreev
bb087b7630 Wasm: support running WASI tests in JUnit 2022-11-06 21:41:35 +01:00
Alexey Andreev
7726d47795 C: don't run compiled tests simultaneously 2021-03-24 17:31:16 +03:00
Alexey Andreev
bd53c1a5a2 wasm: trying to implement coroutines 2021-03-21 22:13:09 +03:00
Alexey Andreev
c4c1408160 wasm: fix running tests, add in-browser test runners 2021-03-20 19:52:45 +03:00
Alexey Andreev
0cff9e104c Fix checkstyle warnings after migration to the new version 2021-03-18 11:51:20 +03:00
Alexey Andreev
0b36010a19 C: fix running JUnit tests 2021-03-18 01:03:19 +03:00
Alexey Andreev
b5ad203631 JUnit: don't kill test runner after timeout 2021-03-18 00:12:42 +03:00
Alexey Andreev
a8eebd7e1a JUnit: support ignoring all tests in a class 2021-03-18 00:12:42 +03:00
Alexey Andreev
6c75ce7f68 Fix bug in TestNG annotation support 2021-03-16 23:10:18 +03:00
Alexey Andreev
71f87d79a5 JUnit: add support for TestNG annotations 2021-03-16 21:47:05 +03:00
Alexey Andreev
2765a6344f Shade teavm-junit dependencies to avoid conflicts with project's jetty and jackson versions 2021-03-10 16:37:55 +03:00
Alexey Andreev
fb81153ad2 JS: allow running tests in multiple browser tabs 2021-03-09 10:59:56 +03:00
Alexey Andreev
1eab7e41b1 Fix tests. Add headless firefox test runner 2021-03-08 12:00:13 +03:00
Alexey Andreev
61db54e848 Add JS test runner that runs tests right in the browser 2021-03-07 15:56:48 +03:00
Alexey Andreev
d1606ea2a5 Display more readable stack trace in HTML file that runs single test 2021-02-27 22:07:34 +03:00
Alexey Andreev
306c78459c JS: use symbol instead of string property to represent Java exception wrapper 2020-09-09 19:28:32 +03:00
Alexey Andreev
ea1134d66b Trying to reduce number of classes for which name is provided in their metadata 2020-03-02 16:36:09 +03:00
Alexey Andreev
46e786d957 JS: commit forgotten html test template file 2020-03-02 16:18:08 +03:00
Alexey Andreev
cb26a10251 JS: when running tests, create proper HTML files to allow debugging these tests 2020-03-02 15:58:28 +03:00
Alexey Andreev
aefdee2507 Fix checkstyle errors 2020-02-27 19:02:47 +03:00
Alexey Andreev
ea36a1fca8 Fix checkstyle errors 2020-02-27 18:57:45 +03:00
Alexey Andreev
95426e2159 Add per-class compilation when running tests (requires @WholeClassCompilation annotation) 2020-02-27 18:43:08 +03:00
Alexey Andreev
fb78377db8 Fix various issues reported by PVS Studio and LGTM 2019-10-31 14:36:37 +03:00
Alexey Andreev
e569eaa8a6 C: write test error to stderr rather than stdout 2019-10-15 11:53:31 +03:00
Alexey Andreev
8038f90fd8 Support new format of debug information in C and WASM
This allows to keep proper stack traces in FULL optimization mode,
when aggressive inlining is applied
2019-10-15 11:47:40 +03:00