GithubHelp home page GithubHelp logo

exercise-qa's Introduction

Harver QA Exercise

This exercise assesses API testing skills.

Background

Harver's new Candidate API has been developed and is almost ready to be released! But does it live up to Harver's immpeccable quality standards? Your mission is to find out...

Prequisites

You'll need Node.JS + NPM installed to setup and run the server.

Setup

First time run the following command:

npm ci

To start the server:

npm start

You can now access the API at: http://localhost:3000

The API specification (how it should work) is detailed in api.yml. You can also view the auto-generated documentation at docs/api.html.

Tasks

  1. Timebox yourself to 1 hour to find as many defects in the API as you can. Please share the defects you find in a document or spreadsheet.
  2. Automate your work! Write passing automated tests for positive scenarios. Tip!, we recommend Behaviorial API Tester (Bat) and you can run this with npm test
  3. Write automated tests that demonstrate the defects you have found in the system. That means that these tests should deliberately fail.

Please return your completed solution by zipping up this directory and sharing with us the resulting zip file.

Notes

  • The database is mocked in memory. Restart the server to reset the data.
  • Some of the API endpoints require Basic Authentication. The username is: tester and the password is: iloveqa.
  • We've included the boilerplate code to write Bat feature files, for your convenience.
  • We would normally encourage static code analysis to help look for bugs, but for the purpose of this exercise, the server.js is deliberately obfuscated.

exercise-qa's People

Contributors

philmander avatar

Watchers

 avatar  avatar  avatar

Forkers

dzablodska

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.