Commit dff1467
authored
[tests] Allow ConfigurationSchema.json tests to run out of repo (dotnet#1790)
* [tests] ConformanceTests: Remove dependency on GetRepoRoot
.. by changing the tests to expect `ConfigurationSchema.json` to be
available next to the test assembly.
* [tests] Deploy ConfigurationSchema.json to the test output dir
* [tests] Avoid redundant tests in Redis Caching tests
Both `Aspire.StackExchange.Redis.DistributedCaching`, and
`Aspire.StackExchange.Redis.OutputCaching` have
`ConfigurationSchema.json` which reference `Aspire.StackExchange.Redis`
without adding anything more.
But the tests for those two run validation for the
`Aspire.StackExchange.Redis` schema, which is already done by the main
tests. Instead of that:
- `Aspire.StackExchange.Redis` - continue doing the validation tests
- `Aspire.StackExchange.Redis.{Output,Distributed}Caching`
- Run the validation test for the schema against the the project's
own schema
- And don't check for any invalid cases since there is nothing being
added in the schema
* Address review feedback from @ eerhardt to make path separators consistent in csproj1 parent 6ad259d commit dff1467
File tree
42 files changed
+54
-70
lines changed- tests
- Aspire.Azure.AI.OpenAI.Tests
- Aspire.Azure.Data.Tables.Tests
- Aspire.Azure.Messaging.ServiceBus.Tests
- Aspire.Azure.Security.KeyVault.Tests
- Aspire.Azure.Storage.Blobs.Tests
- Aspire.Azure.Storage.Queues.Tests
- Aspire.Components.Common.Tests
- Aspire.Confluent.Kafka.Tests
- Aspire.Microsoft.Azure.Cosmos.Tests
- Aspire.Microsoft.Data.SqlClient.Tests
- Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests
- Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests
- Aspire.MongoDB.Driver.Tests
- Aspire.MySqlConnector.Tests
- Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests
- Aspire.Npgsql.Tests
- Aspire.Oracle.EntityFrameworkCore.Tests
- Aspire.RabbitMQ.Client.Tests
- Aspire.StackExchange.Redis.DistributedCaching.Tests
- Aspire.StackExchange.Redis.OutputCaching.Tests
- Aspire.StackExchange.Redis.Tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+54
-70
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
| |||
0 commit comments