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

Testes devem ser executados em ambiente isolado! #3

Open
almerindo opened this issue Jan 18, 2020 · 1 comment
Open

Testes devem ser executados em ambiente isolado! #3

almerindo opened this issue Jan 18, 2020 · 1 comment

Comments

@almerindo
Copy link
Owner

Ao rodar os testes o banco de dados de testes está ficando com dados antigos.
Necessário fazer a limpesa antes de executar os testes.

almerindo pushed a commit that referenced this issue Jan 18, 2020
Esta feature cria a rota store de CustomerController para persistir localmente e remotamente.
Testes novos de integridade foram criados.
Ferramenta VSCOde configurado para debugar testes...
Changes to be committed:
	new file:   .vscode/launch.json
	modified:   TODO.todo
	new file:   __tests__/coverage/lcov-report/controllers/CustomerController.js.html
	modified:   __tests__/coverage/lcov-report/controllers/PlanController.js.html
	modified:   __tests__/coverage/lcov-report/controllers/SubscriberController.js.html
	modified:   __tests__/coverage/lcov-report/controllers/index.html
	modified:   __tests__/coverage/lcov-report/index.html
	modified:   __tests__/coverage/lcov-report/models/Client.js.html
	new file:   __tests__/coverage/lcov-report/models/Customer.js.html
	modified:   __tests__/coverage/lcov-report/models/index.html
	modified:   __tests__/coverage/lcov.info
	modified:   __tests__/database.sqlite
	deleted:    __tests__/integration/Client.test.js
	new file:   __tests__/integration/Customer.test.js
	new file:   __tests__/util/truncate.js
	modified:   nodemon.json
	modified:   package.json
	new file:   src/app/controllers/CustomerController.js
	deleted:    src/app/controllers/SubscriberController.js
	renamed:    src/app/models/Client.js -> src/app/models/Customer.js
	modified:   src/database/index.js
	renamed:    src/database/migrations/20200118033744-create-clients.js -> src/database/migrations/20200118033744-create-customers.js
	modified:   src/routes.js
	modified:   yarn-error.log
	modified:   yarn.lock

fecha #3
@almerindo
Copy link
Owner Author

Corrigido

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant