Bump version to 3

- Add description to each project
- Add .sh files to test and package
This commit is contained in:
2024-04-20 22:58:41 -04:00
parent aa14333604
commit fc045d021c
9 changed files with 82 additions and 26 deletions

View File

@@ -1,19 +1,27 @@
open Expecto
open BitBadger.Documents.Tests.CSharp
let postgresOnly =
match System.Environment.GetEnvironmentVariable "BBDOX_PG_ONLY" with
| null -> false
| "true" -> true
| _ -> false
let allTests =
testList
"BitBadger.Documents"
[ CommonTests.all
CommonCSharpTests.Unit
PostgresTests.all
PostgresCSharpTests.All
PostgresExtensionTests.integrationTests
testSequenced PostgresCSharpExtensionTests.Integration
SqliteTests.all
SqliteCSharpTests.All
SqliteExtensionTests.integrationTests
testSequenced SqliteCSharpExtensionTests.Integration ]
testList "BitBadger.Documents" [
if not postgresOnly then
CommonTests.all
CommonCSharpTests.Unit
PostgresTests.all
PostgresCSharpTests.All
PostgresExtensionTests.integrationTests
testSequenced PostgresCSharpExtensionTests.Integration
if not postgresOnly then
SqliteTests.all
SqliteCSharpTests.All
SqliteExtensionTests.integrationTests
testSequenced SqliteCSharpExtensionTests.Integration
]
[<EntryPoint>]
let main args = runTestsWithCLIArgs [] args allTests