mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 01:15:31 +03:00
d0f0770ef4
* Refactor * Fix * More fixes * Fixes * Fix * Fix imports * Fix * Fix * Fix Test * Fix * Fix * is_feature_supported API * Add SQLServer Tests * SQLServer Select_columns functional * SQLServer Filter functional * Aggregate * order feature * Remove old order flag * Join * Union * Distinct * Text_cleanse * Remove Nothing tests * add_row_number and integration * Make_table_from * Feature flag failing tests * Column_operations * Set * date_time off * Conversion * More flags * Merge * Expressions * TakeDrop * Missing * Cross_join * More flags * Temporaily disable * Fix merge issue * Update other dbs * Code review changes * Code review changes * Code revoew changes * Fix * Fix * Fix * Fix * Fix * Code review fix * Typo * Code review changes * Casing * Add comments * Add comments * Update * Fix * Fix imports |
||
---|---|---|
.. | ||
src | ||
package.yaml | ||
README.md |
This is a set of tests for the Microsoft integration for Enso.
Testing Microsoft SQL Server
To run the tests, you need to prepare credentials for a Microsoft SQL Server instance that can be used to run them on.
Please set the following environment variables:
- 'ENSO_SQLSERVER_HOST' - the name of the server hosting SQLServer,
- 'ENSO_SQLSERVER_PORT' - the port SQLServer is on,
- 'ENSO_SQLSERVER_USER' - the user name to use to connect,
- 'ENSO_SQLSERVER_PASSWORD' - the pasword for that user,
- 'ENSO_SQLSERVER_DATABASE' - the database on the SQLServer to use.
Docker
The easiest way to test locally is to use a docker image
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=<YourStrong@Passw0rd>" -p 1433:1433 --name sql1 --hostname sql1 -d mcr.microsoft.com/mssql/server:2022-latest
Set ENSO_SQLSERVER_DATABASE to tempdb and the defaults will work for everything else. (The user is sa with the above password)
$env:ENSO_SQLSERVER_DATABASE='tempdb'