1.7.13 • Published 1 month ago

@datagrok/api-tests v1.7.13

Weekly downloads
-
License
-
Repository
github
Last release
1 month ago

ApiTests

ApiTests is a package for the Datagrok platform.

To add tests for Datagrok's JS API:

  1. Create a folder under src/ for your test files (each file typically includes tests for one category)
  2. Get the package dependencies (npm install)
  3. Import the required utilities (refer to other tests as an example):

    import { category, expect, test } from '@datagrok-libraries/utils/src/test';
  4. Write some tests

  5. Import your test files in src/package-test.ts
  6. Publish the package
  7. Open Datagrok and start the console (~ or Windows | Console)
  8. Launch tests for a category via ApiTests:test(category="category-name"), e.g., ApiTests:test(category="Layouts"), or a specific test via ApiTests: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.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.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