Skip to content

valuechainfactory/recruit-10-06-qa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Simple Reorder Module

Scenario

Kefis is a simple store that deals in FMCG. They desire a simple application that tracks inventory and makes automated reorders to their off-site warehouse when the stock level hits a predefined quantity. The warehouse attendant can see all reorders coming in and dispatch them to the store. Processed reorders are marked as such. Both the retailer and the warehouse can see pending and processed reorders.

Requirements

Hint: In addition to other technical areas of interest, we are very keen on your thought process. Feel free to be creative. Do not complicate your solution in a bid to impress only to find it unfinished in the stipulated period. You are allowed a maximum of 168 Hours to complete. The last commit created in that time is what we take into account.

Client Requirements

  • Seed 5 test products into the database with a default amount of inventory and reorder level
  • In the product listing for the store, add a button that reduces inventory to simulate a sale
  • When inventory hits the predefined reorder level, create an automated reorder in an unprocessed state
  • The warehouse actor should have a view to see unprocessed reorders
  • On the reorder listing for the warehouse, have a dispatch button that simulates a dispatch to the store
  • The above dispatch action should increment inventory in the store
  • The store actor should also have a view to see unprocessed and processed reorders

Technical Requirements

  • Write at least one unit test for each of the functions that simulate the sale and the dispatch
  • Produce a set of test cases both negative and positive. These can be submitted through a link to a document or a document itself
  • From your application, identify and explain 5 edge test cases
  • Create a sample bug report that you would come up with as the QA Engineer
  • Create a private repository on GitHub and add [email protected] and [email protected] as a collaborator
  • Push your code to that repoitory in as many commits as neccessary - preferably more than one.
  • Host the solution on Heroku or an alternative hosting provider and share the link in the section below.

Languages allowed

Use any programming language you're comfortable with.

The following languages are what we currently use in our company and will be given special consideration:

  • Elixir/Phoenix
  • HTML/CSS/JS

Resources


Applicant Section

Hosted App Link

Paste your hosted application url here: __

Comments

Add your comments below:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published