1.7.13 • Published 1 month ago
@datagrok/api-tests v1.7.13
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.7.0-rc.test1
1 month ago
1.7.13-rc.hjbhk.jhvjvj6
1 month ago
1.7.15-rc.test1
1 month ago
1.7.15-rc.test2
1 month ago
1.7.15-rc.abc
1 month ago
1.7.15-rc.xyz
1 month ago
1.7.1-3.hjbhk.jhvjvj6
1 month ago
1.7.15-rc
1 month ago
1.7.15-rc.xyzd
1 month ago
1.7.1-rc.test1
1 month ago
1.7.1-rc.test2
1 month ago
1.7.13-rc.test1
1 month ago
1.7.13-rc.test2
1 month ago
1.7.13
2 months ago
1.7.10
9 months ago
1.7.11
6 months ago
1.7.12
6 months ago
1.7.9
10 months ago
1.7.8
10 months ago
1.7.7
10 months ago
1.7.3
12 months ago
1.7.2
12 months ago
1.7.1
1 year ago
1.7.0
1 year ago
1.7.5
12 months ago
1.7.4
12 months ago
1.6.0
1 year ago
1.5.11
1 year ago
1.5.10
1 year ago
1.5.9
1 year ago
1.5.8
1 year ago
1.5.7
1 year ago
1.5.5
1 year ago
1.5.4
1 year ago
1.4.1
2 years ago
1.5.6
1 year ago
1.4.0
2 years ago
1.3.1
2 years ago
1.3.0
2 years ago
1.0.0
2 years ago
0.0.5
2 years ago
0.0.6
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago