eeaddbc434
- ✅Linting fixes and groups. - ✅Add `File.from that:Text` and use `File` conversions instead of taking both `File` and `Text` and calling `File.new`. - ✅Align Unix Epoc with the UTC timezone and add converting from long value to `Date_Time` using it. - ❌Add simple first logging API allowing writing to log messages from Enso. - ✅Fix minor style issue where a test type had a empty constructor. - ❌Added a `long` based array builder. - Added `File_By_Line` to read a file line by line. - Added "fast" JSON parser based off Jackson. - ✅Altered range `to_vector` to be a proxy Vector. - ✅Added `at` and `get` to `Database.Column`. - ✅Added `get` to `Table.Column`. - ✅Added ability to expand `Vector`, `Array` `Range`, `Date_Range` to columns. - ✅Altered so `expand_to_column` default column name will be the same as the input column (i.e. no `Value` suffix). - ✅Added ability to expand `Map`, `JS_Object` and `Jackson_Object` to rows with two columns coming out (and extra key column). - ✅ Fixed bug where couldn't use integer index to expand to rows. |
||
---|---|---|
.. | ||
data | ||
polyglot-sources/enso-test-java-helpers/src/main/java/org/enso | ||
src | ||
package.yaml | ||
README.md |
This is a set of tests for the Base
library for Enso.
HTTP tests
The run test suite for the HTTP component requires an active helper server on
the localhost. If it is present, the port it listens to should be provided by
setting the ENSO_HTTP_TEST_HTTPBIN_URL
environment variable to a value like
http://localhost:8080
. The URL may contain a trailing slash.
To run the test server, you may use the following command:
sbt 'http-test-helper/run localhost 8080'
You can stop the server via Ctrl-C.
See the server's documentation for more information.
Cloud tests
By default, a subset of cloud tests runs whenever the
ENSO_HTTP_TEST_HTTPBIN_URL
environment variable is set, using a mock of parts
of the cloud logic running on the helper server.
To run a full set of cloud tests against a real deployment, you need to set the following 3 environment variables:
ENSO_CLOUD_API_URI
to point to the root of the cloud API,ENSO_CLOUD_CREDENTIALS_FILE
to be a path to a file containing the credentials to use, e.g.~/.enso/credentials
,ENSO_RUN_REAL_CLOUD_TEST=1
to tell the test suite to run against a real cloud deployment.
Note that some cloud tests (e.g. testing secrets in HTTP requests) still require
the ENSO_HTTP_TEST_HTTPBIN_URL
setup, even if running against a real cloud
deployment.