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

End-to-End Testing #16

Open
5 of 8 tasks
SverreNystad opened this issue Dec 28, 2023 · 2 comments
Open
5 of 8 tasks

End-to-End Testing #16

SverreNystad opened this issue Dec 28, 2023 · 2 comments
Assignees
Milestone

Comments

@SverreNystad
Copy link
Collaborator

SverreNystad commented Dec 28, 2023

Implement comprehensive end-to-end (E2E) testing for the GalacticPathFinder application to ensure the integrated functionality of its features.

Proposed Solution

  1. Select E2E Testing Framework: Choose a testing framework compatible with Django and React Typescript (e.g., Cypress, Selenium).
  2. Define Test Scenarios: Identify critical user journeys for testing, including grid creation, setting start/end points, algorithm visualization, and heuristic customization.
  3. Develop Test Scripts: Write E2E test scripts for each identified scenario.
  4. Integrate with CI/CD: Ensure tests run automatically in the CI/CD pipeline.

Acceptance Criteria:

  • E2E testing framework selected and integrated into the project.
  • Tests cover: grid creation, #114
  • Tests cover: Start/end point settings
  • Tests cover: Algorithm visualization
  • Tests cover: Heuristic choice
  • Tests cover: Algorithm choice
  • Tests automatically run on pull requests and merges in the CI/CD pipeline.
  • Documentation updated with instructions for running and writing E2E tests.
@SverreNystad SverreNystad added the Help wanted Extra attention is needed label Dec 28, 2023
@SverreNystad SverreNystad self-assigned this Dec 28, 2023
@jmnorheim jmnorheim added this to the v.2.0.0 milestone Aug 9, 2024
@jmnorheim
Copy link
Collaborator

Is this really necessary for a frontend-heavy application?

@SverreNystad SverreNystad added In Progress and removed Help wanted Extra attention is needed labels Aug 9, 2024
@SverreNystad
Copy link
Collaborator Author

SverreNystad commented Aug 9, 2024

Is this really necessary for a frontend-heavy application?

It is mostly for me to learn how to do E2E testing with cypress. It will also make us able to check that all major user stories will be functioning as expected. We have have a lot of integration tests on the backend and I feel like E2E testing would be the cherry on top for testing for this project :)

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

No branches or pull requests

2 participants