1.8.0 • Published 8 months ago
@datagrok/api-tests v1.8.0
ApiTests
ApiTests is a package for the Datagrok platform.
To add tests for Datagrok's JS API:
- Create a folder under
src/
for your test files (each file typically includes tests for one category) - Get the package dependencies (
npm install
) Import the required utilities (refer to other tests as an example):
import { category, expect, test } from '@datagrok-libraries/utils/src/test';
Write some tests
- Import your test files in
src/package-test.ts
- Publish the package
- Open Datagrok and start the console (
~
orWindows | Console
) - Launch tests for a category via
ApiTests:test(category="category-name")
, e.g.,ApiTests:test(category="Layouts")
, or a specific test viaApiTests:test(category="category-name", test="test-name")
, e.g.,ApiTests:test(category="Layouts", test="ViewLayout.toJson()")
, and wait for the results
1.8.0
8 months ago
1.7.17
10 months ago
1.7.14
12 months ago
1.7.16
12 months ago
1.7.0-rc.test1
1 year ago
1.7.13-rc.hjbhk.jhvjvj6
1 year ago
1.7.15-rc.test1
1 year ago
1.7.15-rc.test2
1 year ago
1.7.15-rc.abc
1 year ago
1.7.15-rc.xyz
1 year ago
1.7.1-3.hjbhk.jhvjvj6
1 year ago
1.7.15-rc
1 year ago
1.7.15-rc.xyzd
1 year ago
1.7.1-rc.test1
1 year ago
1.7.1-rc.test2
1 year ago
1.7.13-rc.test1
1 year ago
1.7.13-rc.test2
1 year ago
1.7.13
1 year ago
1.7.10
2 years ago
1.7.11
2 years ago
1.7.12
2 years ago
1.7.9
2 years ago
1.7.8
2 years ago
1.7.7
2 years ago
1.7.3
2 years ago
1.7.2
2 years ago
1.7.1
2 years ago
1.7.0
2 years ago
1.7.5
2 years ago
1.7.4
2 years ago
1.6.0
2 years ago
1.5.11
2 years ago
1.5.10
2 years ago
1.5.9
2 years ago
1.5.8
2 years ago
1.5.7
2 years ago
1.5.5
3 years ago
1.5.4
3 years ago
1.4.1
3 years ago
1.5.6
3 years ago
1.4.0
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.0.0
3 years ago
0.0.5
3 years ago
0.0.6
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago