forked from MoonStorm/FastCrud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSqlBuilder.feature
30 lines (27 loc) · 1.43 KB
/
SqlBuilder.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Feature: SQL Builder
@InMemoryDatabase
Scenario Outline: Select all columns
Given I extract the SQL builder for <database type> and <entity type>
When I construct the select column enumeration
Then I should get a valid select column enumeration
Examples:
| database type | entity type |
| LocalDb | workstation |
| PostgreSql | workstation |
| MySql | workstation |
| SqLite | workstation |
@InMemoryDatabase
Scenario Outline: Manual query
Given I extract the SQL builder for <database type> and <entity type>
When I construct a complex join query for <entity type> using <sql query builder method>
Then I should get a valid join query statement for <entity type>
Examples:
| database type | entity type | sql query builder method |
| LocalDb | workstation | individual identifier resolvers |
| PostgreSql | workstation | individual identifier resolvers |
| MySql | workstation | individual identifier resolvers |
| SqLite | workstation | individual identifier resolvers |
| LocalDb | workstation | combined table and column identifier resolvers |
| PostgreSql | workstation | combined table and column identifier resolvers |
| MySql | workstation | combined table and column identifier resolvers |
| SqLite | workstation | combined table and column identifier resolvers |