Skip to content

radaisystems/food-trucks-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Take Home Test Challenge for QA Engineers

This is a basic ASP.NET Core Web API for querying mobile food trucks in San Francisco. The API allows users to search for food trucks by name, street, and location. It also includes a Swagger UI for API documentation and very basic testing.

The Challenge

You will have these challenges:

Part of the QA engineer's work is analyzing the product, identifying areas of significant failure, and defining/acting on priorities. Consider that the testing role also involves demonstrating the value of a good QA strategy and how it benefits the company.

Your goal is to create tests for this application. You can create any unit, integrated, e2e tests, and other necessary tests. When developing tests for the application, it's important that you provide clear explanations for your choices and reasoning for defining priorities and generating tests. This responsibility and accountability are integral to the QA process.

How we review

We use this criteria to review:

  • You don't need to make any changes to the code or fix any bugs, but feel free to report them.
  • We will assess the quality of your test cases and the reasoning behind them.
  • We will evaluate automated tests' coverage, quality, and efficiency.

What to send back to our team

When done, please send an email to your point of contact with a compressed (zip) file of your Github project repo. To explain the tests, please add to a document of your choice and send it alongside the zip file.

Project Documentation

This simple API is built with ASP.NET Core Web API and SQLite. At startup, the app checks if the database has already been created. If not, it will create a SQLite database and insert the CSV file contents into a table to be used on the API.

Running the Application

There are a few options for running the application. Please take a look at 2 examples below. Note: Due to how the application is built, running on the first start might take a short while.

Running Locally

The pre-requisites are:

Steps:

  1. Clone the repository

  2. Build and run the application with:

    dotnet build
    dotnet run --project api
  3. Access the API at http://localhost:5000 and Swagger UI at http://localhost:5000/swagger.

Docker

  1. Build the Docker image with

    docker build -t foodtrucksapi .
  2. Run the Docker container:

    docker run -d -p 5000:5000 --name foodrucks-container foodtrucksapi
  3. Access the API at http://localhost:5000 and Swagger UI at http://localhost:5000/swagger.

Releases

No releases published

Packages

No packages published