1.10.0 • Published 8 months ago
@datagrok/api-tests v1.10.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.9.0
12 months ago
1.10.0
8 months ago
1.8.0
1 year ago
1.7.17
1 year ago
1.7.14
1 year ago
1.7.16
1 year ago
1.7.0-rc.test1
2 years ago
1.7.13-rc.hjbhk.jhvjvj6
2 years ago
1.7.15-rc.test1
2 years ago
1.7.15-rc.test2
2 years ago
1.7.15-rc.abc
2 years ago
1.7.15-rc.xyz
2 years ago
1.7.1-3.hjbhk.jhvjvj6
2 years ago
1.7.15-rc
2 years ago
1.7.15-rc.xyzd
2 years ago
1.7.1-rc.test1
2 years ago
1.7.1-rc.test2
2 years ago
1.7.13-rc.test1
2 years ago
1.7.13-rc.test2
2 years ago
1.7.13
2 years 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
3 years ago
1.7.2
3 years ago
1.7.1
3 years ago
1.7.0
3 years ago
1.7.5
3 years ago
1.7.4
3 years ago
1.6.0
3 years ago
1.5.11
3 years ago
1.5.10
3 years ago
1.5.9
3 years ago
1.5.8
3 years ago
1.5.7
3 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
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago