https://github.com/pdevito3/oncolimslite
https://github.com/pdevito3/oncolimslite
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pdevito3/oncolimslite
- Owner: pdevito3
- Created: 2021-06-15T03:48:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-11T19:45:22.000Z (over 4 years ago)
- Last Synced: 2025-03-26T23:42:47.200Z (11 months ago)
- Language: C#
- Size: 368 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OncoLimsLite
This project was created with [Craftsman](https://github.com/pdevito3/craftsman).
## Get Started
Go to your solution directory:
```shell
cd OncoLimsLite
```
Run your solution:
```shell
dotnet run --project YourBoundedContextName.WebApi
```
## Running Integration Tests
To run integration tests:
1. Ensure that you have docker installed.
2. Go to your src directory for the bounded context that you want to test.
3. Confirm that you have migrations in your infrastructure project. If not you can add them by doing the following:
1. Set an environment variable. It doesn't matter what that environment name is for these purposes.
- Powershell: `$Env:ASPNETCORE_ENVIRONMENT = "IntegrationTesting"`
- Bash: export `ASPNETCORE_ENVIRONMENT = IntegrationTesting`
2. Run a Migration:`dotnet ef migrations add "InitialMigration" --project YourBoundedContextName.Infrastructure --startup-project YourBoundedContextName.WebApi --output-dir Migrations`
4. Run the tests. They will take some time on the first run in the last 24 hours in order to set up the docker configuration.