Skip to content
This repository was archived by the owner on Dec 20, 2020. It is now read-only.

Cypress (Unit/E2E) Testing #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EmpireErwinKooi
Copy link

This PR demonstrates a way to utilize Cypress to E2E test the application both from a dev machine and automated through CI. No need to merge, this PR is just here for ease of finding the code.

To run the cypress tests locally, you need to install cypress on your machine:
npm install -g cypress

Then, within your project directory, go to the kube101 directory and start the runner:
cd django-poll-project/kube101
npx cypress open

Or run the unit test suite:
python manage.py test

@EmpireErwinKooi
Copy link
Author

This is for the 5 minute speed talks tomorrow morning.

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

Successfully merging this pull request may close these issues.

1 participant