-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathSqlServerEFCore.feature
23 lines (21 loc) · 1.06 KB
/
SqlServerEFCore.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@cloudfoundry_scaffold
Feature: SqlServerEFCore Connector
In order to show you how to use Steeltoe for connecting to SQL Server using Entity Framework Core
You can run some SQL Server using Entity Framework Core connection samples
@net8.0
@windows
Scenario: SqlServerEFCore Connector (net8.0/windows)
When you run: dotnet publish -r win-x64 --self-contained
And you run: cf push -f manifest-windows.yml -p bin/Release/net8.0/win-x64/publish
And you wait until CloudFoundry app sqlserver-efcore-connector-sample is started
When you get https://sqlserver-efcore-connector-sample/
Then you should see "1: Test Data 1 - AppDbContext"
And you should see "2: Test Data 2 - AppDbContext"
@net8.0
@linux
Scenario: SqlServerEFCore Connector (net8.0/linux)
When you run: cf push -f manifest.yml
And you wait until CloudFoundry app sqlserver-efcore-connector-sample is started
When you get https://sqlserver-efcore-connector-sample/
Then you should see "1: Test Data 1 - AppDbContext"
And you should see "2: Test Data 2 - AppDbContext"