1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00
budibase/qa-core
2023-07-03 14:10:18 +01:00
..
scripts Few minor updates to the integration suite to make it easier to decipher what is happening under the hood, as well as making it easier to log from these (where there is no pino logging available, importing backend-core breaks things). Also added a new script which can be used to get local environment setup as needed to run qa-core tests. Finally, xdescribe for the failing test until can work out what is wrong with MongoDB installation in QA environment. 2023-06-19 18:28:38 +01:00
src Revert "Add more tests for user settings" 2023-07-03 14:10:18 +01:00
.gitignore Run integration suite in CI again / auto detect tenancy / refactors (#10209) 2023-04-05 15:33:56 +01:00
jest.config.ts Run integration suite in CI again / auto detect tenancy / refactors (#10209) 2023-04-05 15:33:56 +01:00
package.json Few minor updates to the integration suite to make it easier to decipher what is happening under the hood, as well as making it easier to log from these (where there is no pino logging available, importing backend-core breaks things). Also added a new script which can be used to get local environment setup as needed to run qa-core tests. Finally, xdescribe for the failing test until can work out what is wrong with MongoDB installation in QA environment. 2023-06-19 18:28:38 +01:00
README.md Run integration suite in CI again / auto detect tenancy / refactors (#10209) 2023-04-05 15:33:56 +01:00
tsconfig.json Remove tsconfig references 2023-05-03 18:04:57 +01:00
yarn.lock Remove qa-core package-lock.json 2023-06-21 17:05:49 +01:00

QA Core API Tests

The QA Core API tests are a jest suite that run directly against the budibase backend APIs.

Auto Setup

You can run the whole test suite with one command, that spins up the budibase server and runs the jest tests:

yarn test:ci

Setup Server

You can run the local development stack by following the instructions on the main readme.

Run Tests

If you configured the server using the previous command, you can run the whole test suite by using:

yarn test

for watch mode, where the tests will run on every change:

yarn test:watch

To run tests locally against a cloud service you can update the configuration inside the .env file and run:

yarn test