kibana/test/interpreter_functional
Nick Partridge 119eabe271
[Metric] convert mocha tests to jest (#54054)
* Add fixtures/* alias to tsconfig and jest config
* Convert metric tests to jest
* Convert remaining js files to ts
2020-01-17 12:00:35 -06:00
..
plugins/kbn_tp_run_pipeline Upgraded EUI to 18.2.1 (#55090) 2020-01-16 15:03:40 -07:00
screenshots/baseline [Metric] convert mocha tests to jest (#54054) 2020-01-17 12:00:35 -06:00
snapshots [Metric] convert mocha tests to jest (#54054) 2020-01-17 12:00:35 -06:00
test_suites/run_pipeline [Metric] convert mocha tests to jest (#54054) 2020-01-17 12:00:35 -06:00
config.ts Typescriptify and shim kbn_tp_run_pipeline test plugin (#50645) 2019-11-26 14:22:34 +01:00
README.md Typescriptify and shim kbn_tp_run_pipeline test plugin (#50645) 2019-11-26 14:22:34 +01:00

Interpreter Functional Tests

This folder contains interpreter functional tests.

Add new test suites into the test_suites folder and reference them from the config.ts file. These test suites work the same as regular functional test.

Run the test

To run these tests during development you can use the following commands:

# Start the test server (can continue running)
node scripts/functional_tests_server.js --config test/interpreter_functional/config.ts

# Start a test run
node scripts/functional_test_runner.js --config test/interpreter_functional/config.ts

Writing tests

Look into test_suites/run_pipeline/basic.ts for examples

to update baseline screenshots and snapshots run with:

node scripts/functional_test_runner.js --config test/interpreter_functional/config.ts --updateBaselines