https://github.com/flowcore-io/library-testing-microservice-ts
Testing library for facilitating tests for the @flowcore/microservice modules
https://github.com/flowcore-io/library-testing-microservice-ts
Last synced: about 1 year ago
JSON representation
Testing library for facilitating tests for the @flowcore/microservice modules
- Host: GitHub
- URL: https://github.com/flowcore-io/library-testing-microservice-ts
- Owner: flowcore-io
- License: mit
- Created: 2022-12-30T15:40:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T17:03:43.000Z (over 3 years ago)
- Last Synced: 2025-06-03T04:10:56.353Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 154 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README

# Testing Microservice
Testing library for facilitating tests for the @flowcore/microservice modules
## Installation
install with npm:
```bash
npm install --save-dev @jbiskur/nestjs-test-utilities @flowcore/testing-microservice
```
or yarn:
```bash
yarn add @jbiskur/nestjs-test-utilities @flowcore/testing-microservice -D
```
## Usage
to use the library you can use it with the `NestApplicationBuilder`
```typescript
import {LoggerModulePlugin} from "@flowcore/testing-microservice";
// .. when you initialize your test
app = await new NestApplicationBuilder()
.withTestModule((testModule) => testModule.withModule(TestModule))
.with(LoggerModulePlugin)
.build();
```
## Development
```bash
yarn install
```
or with npm:
```bash
npm install
```