Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add e2e tests for generated server project #91

Closed
ghost opened this issue Jan 9, 2020 · 3 comments
Closed

Add e2e tests for generated server project #91

ghost opened this issue Jan 9, 2020 · 3 comments
Labels
Feature New feature
Milestone

Comments

@ghost
Copy link

ghost commented Jan 9, 2020

It is useful to have end-to-end test classes for every controller. Now there is a npm script test:e2e for an app test that fails. According nestjs standard, rename e2e test with *.e2e-spec * suffix and jest file with .e2e.config.

@ghost ghost added the Feature New feature label Jan 9, 2020
@ghost ghost changed the title Add e2e tests for generated project Add e2e tests for generated server project Jan 9, 2020
@ghost
Copy link
Author

ghost commented Jan 11, 2020

We need to fix the app main e2e test and provide a e2e test for every controller generated by entity and/or controller generator, in order to check CRUD operations.

@ghost ghost added this to the 1.0.0 milestone Jan 11, 2020
@ghost
Copy link
Author

ghost commented Jan 11, 2020

With d9579e7 I have added test profile for typeORM (sqlite in memory), renamed app e2e test and fix it. it misses to do a mocking way for security and service.

@ghost ghost self-assigned this Jan 12, 2020
@ghost ghost added the v1.0.0 First stable version label Jan 12, 2020
@ghost ghost removed the v1.0.0 First stable version label Feb 3, 2020
@ghost
Copy link
Author

ghost commented Feb 4, 2020

Added with #102

@ghost ghost closed this as completed Feb 4, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature
Projects
None yet
Development

No branches or pull requests

0 participants