/seetreat_testing_task

task for seetreat test engineer interviews

Primary LanguagePythonMIT LicenseMIT

Simple Maths + GUI

Set up

  • Tested using python 3.11
  • to install all requirements: pip install -r requirements.txt (advisable to use a new virtual environment)

Overview

This code consists of a few options so please choose the one you are most comfortable with. The intent is to limit time it to a maximum of 2 hours, after that please just submit what you have and explain your thought process and what you would do in addition to what you submit. You will not be marked down if you submit incomplete work.

Options

There are 2 options for testing, both options have the same functionality:

  1. app.py: A web-based application using Flask as a backend.
  2. basic_maths_gui.py: a basic QT GUI that uses basic_maths.py as the backend.

Task

You are to write some automated test cases for one of the options above. You are not expected to have complete test coverage, but you should comment to explain what is missing.

An option could be a Feature and Step file in accordance with Cypress.io but many alternatives exist such as using PyTest or other frameworks. Please take your pick, just be prepared to explain it.

Please clone this repository with settings on private, include the test cases there, and add TimMontanaro and bwheelz36 as a collaborators so we can review.